Borrar filtros
Borrar filtros

Plotting a harmonic function

6 visualizaciones (últimos 30 días)
Sergio Manzetti
Sergio Manzetti el 12 de Feb. de 2018
Editada: Sergio Manzetti el 12 de Feb. de 2018
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 ])
figure(1)
however, it appears as a straight line, while in WolframAlpha it's quite something different.
Can someone see if this looks ok?

Respuestas (0)

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by