pspectrum関数の結果を指定した座標軸に結果をプロット
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
takashi kanda
le 14 Oct 2020
Commenté : takashi kanda
le 16 Oct 2020
Matlab GUIにてアプリを作成しています。pspectrum関数では出力引数を設定せずに使用すると現在のFigureに結果がプロットされます。
この時の結果を指定した座標軸に出力させるにはどうすればよろしいでしょうか。
0 commentaires
Réponse acceptée
takemoto
le 15 Oct 2020
愚直な方法にはなりますが、以下のドキュメントにもあるとおり、一度変数に格納してから描画する、という方法でいかがでしょうか。
[p,f] = pspectrum(x);
plot(f/pi,abs(p))
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur 2 次元および 3 次元プロット dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!