Help with HFSS and Matlab
时间:03-31
整理:3721RD
点击:
hi, im completely new user to hfss and matlab.
i have already done my design of my microstrip ring resonator using HFSS.
however, i need to make use of matlab to calculate certain parameters as the formulas are pretty complex and there would be hundreds of data points when measurements are being done.
the measurements would produce about 200-400 data points in touchstone (s2p) format.
can anyone tell me how to do the programming in matlab in order for me to be able to read the values from the s2p file? or does anyone have a program for me to use?
thanks in advance :]
i have already done my design of my microstrip ring resonator using HFSS.
however, i need to make use of matlab to calculate certain parameters as the formulas are pretty complex and there would be hundreds of data points when measurements are being done.
the measurements would produce about 200-400 data points in touchstone (s2p) format.
can anyone tell me how to do the programming in matlab in order for me to be able to read the values from the s2p file? or does anyone have a program for me to use?
thanks in advance :]
u can use improt wizard
there is a special command in matlab that reads s2p files that have to be saved in the same directory with your script. you can also transform them to txt files or csv and simply import them and copy the values in a matrix
thx for your help :) i'll try looking for the special command then.
i've tried using the import wizard to import the s2p file (or importing the equivalent txt file) , but it cant seem to output the data properly into the table without reading the commented lines, whether it is in the s2p format or txt format.
Use RF Toolbox in Matlab to read Touchstone file. rfdata command.