S11のTouchs​toneファイルから​VSWRはどの様にし​て描きますか

7 Ansichten (letzte 30 Tage)
Imayan
Imayan am 27 Aug. 2019
Kommentiert: Imayan am 6 Sep. 2019
いつも教えていただいてありがとうございます。
VNAから出力したS11のTouchstoneファイルを読み込んで、VSWRをプロットしたいのですが、どうすればよいでしょうか。
RF Toolboxを使用しています。下記のようにすればS11を縦軸dBでプロットできます。
S=sparameters( 'test.s1p' );
f1=figure();
rfplot(S,'db');
縦軸をVSWRにして、プロットしたいです。
どの様すればよいか教えてください。

Akzeptierte Antwort

Naoya
Naoya am 6 Sep. 2019
既に解決済でしたら、すみません。
1ポートファイルから VSWR を取得することとなりますと、下記で求められると思います。
S = sparameters('test.s1p');
s11 = rfparam(S,1,1);
x = vswr(s11);
plot(S.Frequencies, db(x) );
  1 Kommentar
Imayan
Imayan am 6 Sep. 2019
ありがとうございます。
質問を書いた後、自分で調べてrfparam、vswrでvswrを導出できることまでわかったんですが、もとの周波数軸にどうやってプロットすればいいかわかりませんでした。
これで解決しました。
plot(S.Frequencies, x);
Toolboxがないのでdb()は使えないのですが、vswrなのでdb()は不要だと思います。

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu 言語の基礎 finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!