[x,index]=a(1,:)怎么修改。
Ältere Kommentare anzeigen
[x,index]=a(1,:)怎么修改 a = [3 9 4 5 2 7; 6 8 3 3 1 4;2,3,4,5,6,7]
我想要实现 x=[3 9 4 5 2 7]
index=[1,2,3,4,5,6]
请问相关的代码应该是什么样的?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Matrix Indexing finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!