Matlab内で作成​したボード線図の点列​データのエクスポート​方法

조회 수: 35 (최근 30일)
Takumi Harada
Takumi Harada 2021년 2월 27일
답변: michio 2021년 2월 27일
Matlab内で以下のコードを入力しボード線図を作成しました。その点列データ(周波数、ゲイン)をOriginやExcelにエクスポートしたいのですが、いくら調べてもエクスポートする方法が見つからないのでご教示をお願いします。
Differential = tf([1 0],[1]);
LPF = tf([1],[1 1]);
Inexact_differential = tf([1 0],[1 1]);
bodemag(Differential,LPF,Inexact_differential)

채택된 답변

michio
michio 2021년 2월 27일
の構文でデータを出力することができます。
ただこの構文の場合複数のシステムを同時に処理できないので、1つずつ処理する必要があるようです。
例:
LPF = tf([1],[1 1]);
figure(1)
bodemag(LPF)
figure(2)
[mag,phase,wout] = bode(LPF);
semilogx(wout,mag2db(squeeze(mag)))

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 プロットのカスタマイズ에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!