how to combine intsructions of comparaison in one instruction
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
bay rem
am 4 Jan. 2016
Beantwortet: Azzi Abdelmalek
am 4 Jan. 2016
i have 4 variables and i want to find whose are similar: example: a=23, b= 3, c=23, d=4, e=23... rather than compare each one: if (a==b), if (a=c)...if (b=a) ...if (c=b)...i would know if there is a way to remplace such instructions with one only instruction thank you
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Variables 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!