Question: 13. The following vector is defined in MATLAB: By hand (pencil and paper) write what will be displayed if the following commands are executed by
13. The following vector is defined in MATLAB:
By hand (pencil and paper) write what will be displayed if the following commands are executed by MATLAB. Check your answers by executing the commands with MATLAB.
a) a=v(3:6)
b) b=v([2,4:7,10])
c) c=v([9,3,1,10])
d) d=[v([1,3 5]);v([2,4,6]);v([3,6,9])]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
