How to read wptData.mat file?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Nico Lastin
el 7 de Mzo. de 2018
Respondida: Walter Roberson
el 19 de Mzo. de 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!
0 comentarios
Respuesta aceptada
Walter Roberson
el 19 de Mzo. de 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)
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Workspace Variables and MAT Files en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!