extracting 1 plot out of multiple plots in a fig
Afficher commentaires plus anciens
I used freqz(A,B) to generate the amplitude/phase versus frequency plots of a signal.
Now I want to use only the magnitude plot. How can I extract this plot and display just that. Can I display it as a subplot of a series of plots? How?
Thanks
Réponses (2)
Aurelien Queffurust
le 12 Oct 2012
Using the debug mode , I find that freqz is calling freqzplot . freqzplot is obsolete and fvtool should be used instead. So to get the same result
b = fir1(80,0.5,kaiser(81,8));
freqz(b,1)
I would replace freqz(b,1) by:
fvtool(b)
1 commentaire
Rohan
le 12 Oct 2012
Azzi Abdelmalek
le 12 Oct 2012
select one plot with figure editor then
x=get(gco,'Xdata')
y=get(gco,'Ydata')
plot(x,y)
Catégories
En savoir plus sur Filter Analysis dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!