채택된 답변

Yongjian Feng
Yongjian Feng 2022년 2월 11일
편집: Yongjian Feng 2022년 2월 11일
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))

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by