Same value in two different matrices with different properties.
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Joel Schelander
il 30 Apr 2021
Risposto: Sindhu Karri
il 6 Mag 2021
I have one matrix A an a matrix B. I want to create matrix C. matrix has the same size of A, but with numbers from B.
A=[987 583;476 232;650 102];
B=[987 1;583 2;476 1; 232 3; 650 4; 102 5];
%The matrox I want to create looks like this
C=[1 2;1 3;4 5]
0 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Logical 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!