Merging Arrays in a Struct and Sorting them
2 views (last 30 days)
Show older comments
Hello, I have a struct like this:
I want to join its two arrays into one array and then sort them in ascending order, I am trying this code, but it is not giving me results:
c = [v(1) v(2)]
sort_c = sort(c);
0 Comments
Accepted Answer
See Also
Categories
Find more on Structures 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!