Learn To Program
Increase Your Knowlegde and Build Your Skill!
Pages
(Move to ...)
Home
Me
▼
Wednesday, December 22, 2010
If Else In Matlab
Type to test:
>> sleep = true;
>> if sleep
disp('Do sleep');
end
Do sleep
>> a = 2;
>> if a>3
disp('Nothing');
else
disp('Do sleep')
end
Do sleep
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment