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!