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

7 lines
123 B
Mathematica
Raw Permalink Normal View History

2019-12-18 11:25:45 +00:00
function y = powerinternalhelper(d,x);
y = [];
for i = 1:prod(size(d))
y = [y x(i).^d(i)];
end
y = reshape(y,size(d));