This can be solved

5 comentarios

Dyuman Joshi
Dyuman Joshi el 2 de Feb. de 2023
The question clearly states how you should proceed. What have you attempted?
Mhuhmed
Mhuhmed el 2 de Feb. de 2023
I tried to solve this question but it throws an error
Dyuman Joshi
Dyuman Joshi el 2 de Feb. de 2023
Show your code and the full error.
John D'Errico
John D'Errico el 7 de Feb. de 2023
Editada: John D'Errico el 7 de Feb. de 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."
Image Analyst
Image Analyst el 9 de Feb. de 2023

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 2 de Feb. de 2023

0 votos

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

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 2 de Feb. de 2023

Comentada:

el 9 de Feb. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by