This can be solved

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 ExchangeMATLAB についてさらに検索

タグ

質問済み:

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