pspectrum関数の結果を指定した座標軸に結果をプロット
6 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
takashi kanda
el 14 de Oct. de 2020
Comentada: takashi kanda
el 16 de Oct. de 2020
Matlab GUIにてアプリを作成しています。pspectrum関数では出力引数を設定せずに使用すると現在のFigureに結果がプロットされます。
この時の結果を指定した座標軸に出力させるにはどうすればよろしいでしょうか。
0 comentarios
Respuesta aceptada
takemoto
el 15 de Oct. de 2020
愚直な方法にはなりますが、以下のドキュメントにもあるとおり、一度変数に格納してから描画する、という方法でいかがでしょうか。
[p,f] = pspectrum(x);
plot(f/pi,abs(p))
Más respuestas (0)
Ver también
Categorías
Más información sobre ライン プロット en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!