This can be solved

1 view (last 30 days)
Mhuhmed
Mhuhmed on 2 Feb 2023
Commented: Image Analyst on 9 Feb 2023
This question was flagged by Dyuman Joshi
  5 Comments
John D'Errico
John D'Errico on 7 Feb 2023
Edited: John D'Errico on 7 Feb 2023
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."

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 2 Feb 2023
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

Categories

Find more on Programming in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!