Filter löschen
Filter löschen

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

3 Ansichten (letzte 30 Tage)
a = rand
if a < .3
a < .3
elseif a<.6
.3 <= a <.6
else
a > 6
end;
  2 Kommentare
dpb
dpb am 4 Jul. 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....)???

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by