14 lines
139 B
Matlab
14 lines
139 B
Matlab
x = 2;
|
|
y = 3;
|
|
disp(x + y * y);
|
|
disp('Hello world!');
|
|
|
|
x = 2 * 3;
|
|
if x > 5
|
|
y = 'Greater than 5';
|
|
elseif x > 0
|
|
y = 10;
|
|
end
|
|
|
|
disp(y);
|