pspectrum関数の結果を指定した座標軸に結果をプロット
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
takashi kanda
am 14 Okt. 2020
Kommentiert: takashi kanda
am 16 Okt. 2020
Matlab GUIにてアプリを作成しています。pspectrum関数では出力引数を設定せずに使用すると現在のFigureに結果がプロットされます。
この時の結果を指定した座標軸に出力させるにはどうすればよろしいでしょうか。
0 Kommentare
Akzeptierte Antwort
takemoto
am 15 Okt. 2020
愚直な方法にはなりますが、以下のドキュメントにもあるとおり、一度変数に格納してから描画する、という方法でいかがでしょうか。
[p,f] = pspectrum(x);
plot(f/pi,abs(p))
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu ライン プロット finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!