How can I plot multiple FFT graph in three axes?

I have different frequency spectrum graph, I wish to plot them in three axes to shows the different between each frequency spectrum graph.
For example,

 Réponse acceptée

So call plot() 3 different times, specifying the axes you want the plot to show up in. Not sure what the difficulty is.
suplot(3, 1, 1);
plot(fft1, 'b-');
suplot(3, 1, 2);
plot(fft2, 'b-');
suplot(3, 1, 3);
plot(fft3, 'b-');

4 commentaires

Chen Hou Hoe
Chen Hou Hoe le 30 Avr 2017
Modifié(e) : Chen Hou Hoe le 30 Avr 2017
Hi, Thanks for the fast reply. Based on my understanding, the answers you given is for multiple subplot, the kind of plot I want is multiple fft on the same plot as the imagine I attached.
anyone please enlighten me, I been searching for everywhere for the answer.
Image Analyst
Image Analyst le 30 Avr 2017
Modifié(e) : Image Analyst le 30 Avr 2017
Try waterfall() or ribbon().
Or check out a bunch of possibilities in the gallery:
Thank you so much! I think I found my answers from your link, really appreciate you help!

Connectez-vous pour commenter.

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by