Multiple if elseif statement
Mostra commenti meno recenti
How to write multiple if else if statement . Is there any vectoristion method for it. I want to write the statement five hundred times.
2 Commenti
KALYAN ACHARJYA
il 5 Apr 2021
Can you share representative problems and expected results?
KSSV
il 5 Apr 2021
if else can be replaced by using indexing most of the time. Read about it.
Risposta accettata
Più risposte (1)
Sajid Afaque
il 5 Apr 2021
0 voti
you can try switch statements as alternative for else if.
depends on your need
Categorie
Scopri di più su Loops and Conditional Statements 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!