pspectrum関数の結果を指定した座標軸に結果をプロット
    3 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    takashi kanda
 il 14 Ott 2020
  
    
    
    
    
    Commentato: takashi kanda
 il 16 Ott 2020
            Matlab GUIにてアプリを作成しています。pspectrum関数では出力引数を設定せずに使用すると現在のFigureに結果がプロットされます。
この時の結果を指定した座標軸に出力させるにはどうすればよろしいでしょうか。
0 Commenti
Risposta accettata
  takemoto
    
 il 15 Ott 2020
        愚直な方法にはなりますが、以下のドキュメントにもあるとおり、一度変数に格納してから描画する、という方法でいかがでしょうか。
[p,f] = pspectrum(x);
plot(f/pi,abs(p))
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su Annotations in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
