math - Decomposition of complex system using MATLAB -
consider following system in complex symbolic form:
% syms ix %// or % syms x %//? sys(ix) = ((10+(ix)))/((20+5(ix)+(10(ix))^2+(ix)^3))
where
ix = imaginary part
can matlab symbolically compute imag(sys(jx))
, real(sys(jx))
?
syms x sys(x) = ((10+1.*1i.*x))/(20+(5.*1i.*x)+((10.*1i.*x).^2))+((1.*1i.*x).^3); imaginarypart = imag(sys);
where 1i
has been used opposed i
, should more robust according documentation.
Comments
Post a Comment