Two matrices comparison
Ältere Kommentare anzeigen
%I have two matrices, a=[1 2 3]; b=[0 1 0]; %How can i get a1=a if b=1 and a1=0 if b=0, So that a1=[0 2 0]?Thanks!
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Images 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!