Plotting a harmonic function

1 次查看(过去 30 天)
Sergio Manzetti
Sergio Manzetti 2018-2-12
编辑: Sergio Manzetti ,2018-2-12
Hi, I am trying to plot the given function:
syms x
Z = x.^2 - exp(x)/3 + (2*exp(-x/2)*sin((sqrt(3)*x)/2))/sqrt(3) + 4/3*exp(-x/2)*cos((sqrt(3)*x)/2)
fplot(imag(Z), [ -4, 4 ])
however, it appears as a straight line, while in WolframAlpha it's quite something different.
Can someone see if this looks ok?

回答(0 个)


Help CenterFile Exchange 中查找有关 Annotations 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by