select one element in each row but not the same column
Mostra commenti meno recenti
Hi everyone I have matrices 3*3 A= [1 2 3; 4 5 6; 7 8 9] and B=zeros(3,3) I want to choose one element in each row, for example if i choose A(1,1), the matrice of B(1,1) change its value to 1,
2 Commenti
madhan ravi
il 7 Feb 2019
Give an example of your expected result.
Hardi Mohammed
il 15 Feb 2019
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Vehicle Dynamics Blockset in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!