matlab switch case 使用。
조회 수: 12 (최근 30일)
이전 댓글 표시
채택된 답변
vswsfkrn
2023년 5월 25일
f = input( '输入第一个字母(大写字符)', 's' )
switch f
case { 'S' }
disp('Sunday')
end
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!