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

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

Accepted Answer

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

Sign in to comment.

More Answers (0)

Categories

Find more on 言語の基礎 in Help Center and File Exchange

Tags

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!