Multiple if elseif statement
古いコメントを表示
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 件のコメント
KALYAN ACHARJYA
2021 年 4 月 5 日
Can you share representative problems and expected results?
KSSV
2021 年 4 月 5 日
if else can be replaced by using indexing most of the time. Read about it.
採用された回答
その他の回答 (1 件)
Sajid Afaque
2021 年 4 月 5 日
0 投票
you can try switch statements as alternative for else if.
depends on your need
カテゴリ
ヘルプ センター および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!