Return to site

Matlab column vector from matrix

broken image
broken image
broken image

Then I ask it for the element in the second row and third column. In the example below I make a 3x3 matrix M. M(1,1) addresses the element in the top left corner of the matrix M. For example, v(1) addresses the first element in a vector v. You can also use that technique to address a specific spot in a matrix. We've already practiced using parentheses to address a certain element of a vector.

broken image