Effacer les filtres
Effacer les filtres

Write a Matlab program which gives the same output as the following program but only contains if statements

3 vues (au cours des 30 derniers jours)
a = rand
if a < .3
a < .3
elseif a<.6
.3 <= a <.6
else
a > 6
end;
  2 commentaires
the cyclist
the cyclist le 4 Juil 2015
if (you show some effort)
if (you post some code)
we might help you with some hints
end
end
dpb
dpb le 4 Juil 2015
Why would you want to do that (unless it's a homework assignment in which case we've got to see an attempt first....)???

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by