What is the output of the following line of code?
A. No output as we’ve closed the line of code with a semi-colon
B.
1 2 3 4 5 6 7 8 9
0 1.5708 3.1416 4.7124 6.2832 7.8540 9.4248 10.9956 12.5664
C. Error: Unexpected MATLAB expression
D. Undefined function or variable ‘pi’
Code:
t=0:pi/8:4pi;
B.
1 2 3 4 5 6 7 8 9
0 1.5708 3.1416 4.7124 6.2832 7.8540 9.4248 10.9956 12.5664
C. Error: Unexpected MATLAB expression
D. Undefined function or variable ‘pi’