This can be solved

1 次查看(过去 30 天)
Mhuhmed
Mhuhmed 2023-2-2
此 个问题 已被 Dyuman Joshi 标记
  5 个评论
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."

请先登录,再进行评论。

回答(1 个)

Walter Roberson
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

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by