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

3 次查看(过去 30 天)
a = rand
if a < .3
a < .3
elseif a<.6
.3 <= a <.6
else
a > 6
end;

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by