Method on @symfun: power (f, g)
Operator on @symfun: f .^ g

Symbolic function component-wise exponentiation.

Example:

syms x y
f(x, y) = [x 0; 2 y];
g(x, y) = sym([1 2; 3 4]);

h = f .^ g
  ⇒ h(x, y) = (symfun)
      ⎡x  0 ⎤
      ⎢     ⎥
      ⎢    4⎥
      ⎣8  y ⎦

See also: @symfun/mpower.

Package: symbolic