Do not just type this into MATLAB. Try it by hand first! That is how you learn. Consider the following script file:
x = 10;
y = x - 4;
z = 2*x + y;
if x > y & z == 25
output = x + y + z;
else
output = x - y - z;
end
What is the value in the variable output
when the program is finished running?
The variable output is .