How to use switch statement
Afficher commentaires plus anciens
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}
Réponse acceptée
Plus de réponses (1)
Walter Roberson
le 14 Oct 2022
0 votes
https://www.mathworks.com/help/matlab/ref/double.discretize.html and switch on the bin number.
Catégories
En savoir plus sur Animation dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!