Plot magnitude and phase plot
古いコメントを表示
I have one equation in terms of 2 variable A,B, I want to plot magnitude vs phase for different value of A and B .
i don't know how to do this . i was trying but it won't work
for A = -20:1:20
for B = -20:1:20
g = (1 + B*j)/(1 + A*j)
Mag = 20*log10(abs(g))
Phase = angle(g);
plot(Mag,Phase)
hold on
end
end
then obtain value of A and B for particualr value of phase and magnitude
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Frequency-Domain Analysis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
