Azzera filtri
Azzera filtri

How to read wptData.mat file?

2 visualizzazioni (ultimi 30 giorni)
Nico Lastin
Nico Lastin il 7 Mar 2018
Risposto: Walter Roberson il 19 Mar 2018
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!

Risposta accettata

Walter Roberson
Walter Roberson il 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)

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by