Warning: Imaginary parts of complex X and/or Y arguments ignored

6 Ansichten (letzte 30 Tage)
Vincenzo
Vincenzo am 13 Jan. 2015
Hello! i have a kind of problem. Why Warning: Imaginary parts of complex X and/or Y arguments ignored ????
Thank you in advance!
  1 Kommentar
Tushar Behera
Tushar Behera am 3 Feb. 2023
Hi Vincenzo,
It is very unclear what you want to do from your question. It will be great if you provide some context as of what you were trying to do when this error came. Code snippets, your workflow etc. will be helpful in solving your query.
Regards,
Tushar

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Dr. JANAK TRIVEDI
Dr. JANAK TRIVEDI am 3 Feb. 2023
This warning message is generated by MATLAB when it encounters complex numbers in a plot but only the real part of the complex numbers is plotted. If you want to plot both real and imaginary parts of a complex number, you can convert the number to magnitude and phase form and then plot the magnitude and phase separately. The warning message simply informs you that the imaginary part of the data is being ignored and not plotted.

Kategorien

Mehr zu Fourier Analysis and Filtering finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by