randperm(1,9)
the stem may have negative values
X=1:4;
Y=cumprod(X)
A second order system with no initial condition is always linear
Which command is used to save command window text to a file?
What is the result of the following MATLAB code?
a=1:5;
c=a.^2;
The function to evaluate the following series is
1^2+2^2+3^2+4^2+5^2+…83^2
What is the output of the matrix multiplication A = [0;0;1]' * [1 2 3; 4 5 6; 7 8 9]
?
What is the output when the following MATLAB script is executed?
a = randi([20:30], 1);
b = nextpow2(a);
disp(b);
A = 1 4 7
2 5 8
3 6 9
B = cumsum(A)