Clear Filters
Clear Filters

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

2 views (last 30 days)
a = rand
if a < .3
a < .3
elseif a<.6
.3 <= a <.6
else
a > 6
end;

Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!