How to use more than 3 elseif in a matlab program?

1 Ansicht (letzte 30 Tage)
helena
helena am 26 Okt. 2014
Kommentiert: dpb am 26 Okt. 2014
Iwant to use more than 3 elseif in my program what am i doing?
  1 Kommentar
dpb
dpb am 26 Okt. 2014
You can use as many as you wish but often for such a case a switch construct is more suitable.
What's the specific issue that prompted the question?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Multidimensional Arrays finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by