Dear fellows(adsbygoogle = window.adsbygoogle || []).push({});

I need to draw a graph of a complex function in matlab, but could not do so, can you please help me in this issue??

I have mentioned each and every constant required for function(complex function),

y1=1.9417+3.5012i;

y2=1.9417+3.5012i;

y3=4.7348-1.4837;

y4=4.7345+1.4837;

y5=202.701;

M1=1.558*10^12-1.90339*10^12i;

M2=1.536*10^12+1.8116*10^12;

M3=-6.0446*10^11+4.0463*10^12i;

M4=-4.134*10^11-3.954*10^12i;

M5=-2.674*10^8-1.222*10^8i;

a=1;

O1=0.023475-0.0252192i;

O2=0.023475+0.0252192i;

O3=-0.0225775-0.0197677i;

O4=-0.0225775+0.0197677i;

O5=-0.000015578;

w=2;

t=0.1;

z=1;

J=(1i*a*O1-y1)*M1*Exp(-y1*x)+(1i*a*O2-y2)*M2*Exp(-y2*x)+(1i*a*O3-y3)*M3*Exp(-y3*x)+(1i*a*O4-y4)*M4*Exp(-y4*x)+(1i*a*O5-y5)*M5*Exp(-y5*x);

U=J*Exp(wt+iaz);

x=linspace(0,5);

plot(x,Re(U))

Any kind of help will be appreciated,

Thanks

**Physics Forums | Science Articles, Homework Help, Discussion**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Matlab graph

Loading...

Similar Threads for Matlab graph |
---|

MATLAB MATLAB: forces acting on an object |

MATLAB Matlab histogram |

MATLAB Sovling Bernoulli's differential equation in matlab? |

MATLAB Matlab-like software |

MATLAB Graphing in Matlab |

**Physics Forums | Science Articles, Homework Help, Discussion**