This can be solved
Afficher commentaires plus anciens

5 commentaires
Dyuman Joshi
le 2 Fév 2023
The question clearly states how you should proceed. What have you attempted?
Mhuhmed
le 2 Fév 2023
Dyuman Joshi
le 2 Fév 2023
Show your code and the full error.
John D'Errico
le 7 Fév 2023
Modifié(e) : John D'Errico
le 7 Fév 2023
"I do not know how to solve this question. Can you solve this question (beginner)،Please help me."
Image Analyst
le 9 Fév 2023

Réponses (1)
Walter Roberson
le 2 Fév 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
Catégories
En savoir plus sur MATLAB dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!