Update matlab.html.markdown

This commit is contained in:
veghp 2018-03-13 14:16:52 +00:00 committed by GitHub
parent a8911cb7a5
commit 19f3a857fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -374,8 +374,8 @@ disp('Hello World') % Print out a string
fprintf % Print to Command Window with more control fprintf % Print to Command Window with more control
% Conditional statements (the parentheses are optional, but good style) % Conditional statements (the parentheses are optional, but good style)
if (a > 15) if (a > 23)
disp('Greater than 15') disp('Greater than 23')
elseif (a == 23) elseif (a == 23)
disp('a is 23') disp('a is 23')
else else