댓글 수: 5

Dyuman Joshi
Dyuman Joshi 2023년 2월 2일
The question clearly states how you should proceed. What have you attempted?
Mhuhmed
Mhuhmed 2023년 2월 2일
I tried to solve this question but it throws an error
Dyuman Joshi
Dyuman Joshi 2023년 2월 2일
Show your code and the full error.
John D'Errico
John D'Errico 2023년 2월 7일
편집: John D'Errico 2023년 2월 7일
Comment erroneously accepted by @Mhuhmed as an answer, now moved to a comment:
"I do not know how to solve this question. Can you solve this question (beginner)،Please help me."
Image Analyst
Image Analyst 2023년 2월 9일

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2023년 2월 2일

0 개 추천

for x=value
if x is in a certain range
y = appropriate calculation
elseif x is in a different range
y = whatever
else
y = the default value
end
end

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

태그

질문:

2023년 2월 2일

댓글:

2023년 2월 9일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by