How to use switch statement
이전 댓글 표시
I need to create a function through switch statements that are from one bound to the next bound. How would i use the case to display bound1 through bound2. Every variable falling within the bounds is included in the case.
i have
switch n
case {bound1 through bound2}
채택된 답변
추가 답변 (1개)
Walter Roberson
2022년 10월 14일
0 개 추천
https://www.mathworks.com/help/matlab/ref/double.discretize.html and switch on the bin number.
카테고리
도움말 센터 및 File Exchange에서 Animation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!