how to plot 1x22000 struct with 1 field??
1 view (last 30 days)
Show older comments
john karli on 30 Nov 2019
Commented: per isakson on 8 Dec 2019
I have signal data which contain 1x1 struct with 22000 field i want ot plot these. I also upload the workspace of dataset.thank you
per isakson on 30 Nov 2019
Edited: per isakson on 30 Nov 2019
The screenshot of the Command Window shows that the data-20.mat contains Qt, which is a <1x22000 struct>.
I assume that Qt has a field called val, the value of which you want to plot. Try plot([a.Qt.val])
a.Qt(1).val = 1;
a.Qt(2).val = 2;
a.Qt(3).val = 3
struct with fields:
Qt: [1×3 struct]
1 2 3
Find more on Standard File Formats 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!