Using Matlab Create a vector and a matrix with the following

Using Matlab. Create a vector and a matrix with the following commands v=0:0.2:12; and M=[sin(v):cos(v)]. find the size of v and M. extract the first 10 elements of each row of the matrix, and display them as column vectors.

Solution

M = [sin(v) : cos(v)]

size of V = 60

size of M = 2 rows * 60 columns

Using Matlab. Create a vector and a matrix with the following commands v=0:0.2:12; and M=[sin(v):cos(v)]. find the size of v and M. extract the first 10 element

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site