13. The following vector is defined in MATLAB: By hand (pencil and paper) write what will be...

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 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])]

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: