Plotting response of multiple filters in single figure of freqz/freqs and fvtool ?

 採用された回答

Star Strider
Star Strider 2020 年 7 月 8 日
This is likely the only option:
[h{1},w{1}] = freqz(rand(5,1),1, 2^16, 1000);
[h{2},w{2}] = freqz(rand(5,1),1, 2^16, 1000);
figure
subplot(2,1,1)
hold on
for k = 1:2
plot(w{k},20*log10(abs(h{k})))
end
hold off
grid
subplot(2,1,2)
hold on
for k = 1:2
plot(w{k},unwrap(angle(h{k})))
end
hold off
grid
.

その他の回答 (0 件)

カテゴリ

製品

リリース

R2015a

質問済み:

2020 年 7 月 8 日

回答済み:

2020 年 7 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by