Merging Arrays in a Struct and Sorting them
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Chris Dan
el 26 de Dic. de 2019
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 comentarios
Respuesta aceptada
Ver también
Categorías
Más información sobre Structures en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!