How can I fetch data from one matrix into another matrix?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have matrix A and B.
when
A=
4
1
2
1
B=
1 100 200
2 300 400
3 500 600
4 700 800
5 900 1000
and then I would like to make matrix C.
C=
4 700 800
1 100 200
2 300 400
1 100 200
I would like to use A as a base and then sort data form B by using first column of B.
0 comentarios
Ver también
Categorías
Más información sobre Shifting and Sorting Matrices 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!