Merging Arrays in a Struct and Sorting them
1 回表示 (過去 30 日間)
古いコメントを表示
Hello, I have a struct like this:
![talha4.JPG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/257251/talha4.jpeg)
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 件のコメント
採用された回答
参考
カテゴリ
Help Center および File Exchange で Structures についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!