if i have two matrix in different size how can i subtract it ??
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
if i have
A =[ 0 1 0 0 0 0 0 0 0 0
0 1 0 1 0 1 0 0 2 0
3 1 1 2 1 1 4 2 1 5 ]
AND
X = [ 0 1 1 0 0 0 1 2 0 1
5 1 1 4 1 4 2 1 2 1 ]
how can i do this
z2 = abs(sum(M_column1 ~= M_column2))
1 Kommentar
Antworten (0)
Siehe auch
Kategorien
Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!