How to read wptData.mat file?
조회 수: 1 (최근 30일)
이전 댓글 표시
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
채택된 답변
Walter Roberson
2018년 3월 19일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!