extracting 1 plot out of multiple plots in a fig
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(2 个)
Aurelien Queffurust
2012-10-12
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)
Azzi Abdelmalek
2012-10-12
select one plot with figure editor then
x=get(gco,'Xdata')
y=get(gco,'Ydata')
plot(x,y)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Multirate Signal Processing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!