How to attach the element into correct index
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I HAVE VECTOR A = [0,540]
B = [60,600,15]
how to attach B(3) as A(3) ? //output should be A = [0,540,15]
how to attach B(1) as A(1) ? //output should be A = [60,600,15]
0 Commenti
Risposte (1)
Fangjun Jiang
il 25 Mag 2018
Modificato: Fangjun Jiang
il 25 Mag 2018
A=[A,B(3)]
A(1,:)=B(1,:)
0 Commenti
Vedere anche
Categorie
Scopri di più su Matrix Indexing in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!