Warning: Using only the real component of complex data.

 Respuesta aceptada

Yongjian Feng
Yongjian Feng el 11 de Feb. de 2022
Editada: Yongjian Feng el 11 de Feb. de 2022
j is the imaginary unit here, so x is complex. stem is not used to plot complex numbers, that is why only the real component is used.
Maybe you want to plot the real part and/or the imaginary part?
stem(real(x))
stem(imag(x))

Más respuestas (0)

Categorías

Más información sobre Dynamic System Models en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 11 de Feb. de 2022

Editada:

el 11 de Feb. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by