How to read wptData.mat file?

1 view (last 30 days)
Dear all,
I try to read the wptData.mat file. The file could be essential for a project, and I have to know which formulas that file use. Unforntualely, if I search the file and open it, it looks like (>@jX6»²5ÍHýd+ܬj¡). Therefore, is it possible to read the code?
Thank you
[merged from duplicate]
Dear all,
I am trying to read the wptData.mat file. Unfortunately, I can´t read the code. Can I read the code if I convert the data to a .m file or are there better opportunities?
Kind regards and thank you!

Accepted Answer

Walter Roberson
Walter Roberson on 19 Mar 2018
The file does not contain formulas. The file contains sparameters information.
load('wptData.mat'); for K = 1 : length(sparam_dist); figure; rfplot(sparam_dist(K)); title(sprintf('%d',K)); end
The link above shows the properties of sparameters objects: NumPorts, Frequencies, Parameters, Impedance. The Parameters property is a 3D table; you can also use the rfparam() function to extract portions of the Parameters property. rfparam(sparam_dist,I,J) is the same as reshape(sparam_dist.Parameters(I,J,:),[],1)

More Answers (0)

Categories

Find more on Data Import and Network Parameters in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!