if condition equal many variables
Mostra commenti meno recenti
If 6==6==6
c=1
Else
c=0
end
When i type the above code i get c=0 but logically i should get c=6 As 6 is equal to 6. Where is my error and how could i rewrite the code?
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Physics 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!