This can be solved
显示 更早的评论

5 个评论
Dyuman Joshi
2023-2-2
The question clearly states how you should proceed. What have you attempted?
Mhuhmed
2023-2-2
Dyuman Joshi
2023-2-2
Show your code and the full error.
John D'Errico
2023-2-7
编辑:John D'Errico
2023-2-7
"I do not know how to solve this question. Can you solve this question (beginner)،Please help me."
Image Analyst
2023-2-9

回答(1 个)
Walter Roberson
2023-2-2
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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!