format template for sdatb and sdatcv

43 views
Skip to first unread message

Ehsan Shokrolahzade

unread,
May 31, 2023, 4:58:38 AM5/31/23
to VNA Tools
Hi, 

I have many sets of previous measurements which are in touchstone snp format and I'm using MATLAB I need the template format to convert all these data to sdatb and sdatcv is there any document or existing code that can help me with that? thanks in advance

Best regards
Ehsan

Michael Wollensack METAS

unread,
Jun 2, 2023, 3:03:24 AM6/2/23
to VNA Tools
Hi,

you could use the following command in MATLAB:

fp = '01419_Att20dB(f-m)_52371_01_01.s2p'
d = LoadSParamData(fp)

fp2 = '01419_Att20dB(f-m)_52371_01_01_Test.sdatb'
SaveSParamData(fp2, d)

This will convert a Touchstone file into a sdatb-file.

The above MATLAB functions are located under:
C:\Users\Public\Documents\Metas.Vna.Tools\Matlab

See as well 

Hope this helps.

Regards
Michael

Reply all
Reply to author
Forward
0 new messages