- "1" is yes
- "2" is no
- "1" is yes
- any other number is no
- any input that begins with a non-numeric character will not be accepted
- any number followed by a non-numeric character will result in an error
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!