i want to compare between 3 matrices
Mostra commenti meno recenti
I have an equation that i have 3 matrices
i should compare to each other with an if statment
I1 and I2 are matrices
plus what if i want to compare I1 == I2 == I3
if true i would print something
if I1 == I2
disp('I1 = I2')
end
Risposte (1)
Alex Mcaulley
il 6 Apr 2020
if isequal(I1,I2,I3)
disp('I1 == I2 == I3')
end
Categorie
Scopri di più su Matrix Indexing 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!