I'm trying to extract position data that brought in from a plot that I made, that is saved as a structure
1 view (last 30 days)
Show older comments
MATLAB saves this as a structure variable, I'm trying to extract the x, y position data as vectors. The position field looks like 1,2 for 16 element and I'm trying to sort these out into vectors. I have tried s.f and it gives me both x and y for all values but when I do a = s.f it only gives me the first value?
2 Comments
KSSV
on 6 Oct 2017
You have not given the code....or your variable...give code so that we can help you.
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Get Started with MATLAB 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!