Dynamic-Calibration/utils/YALMIP-master/operators/powerinternalhelper.m

7 lines
123 B
Matlab
Executable File

function y = powerinternalhelper(d,x);
y = [];
for i = 1:prod(size(d))
y = [y x(i).^d(i)];
end
y = reshape(y,size(d));