Question: converting a column or a row of a matrix into a vector

M:=Matrix([[1,2,2],[3,2,0],[4,5,7],[8,3,5]]);

I want to pick the 2nd column (and/or row) from the above matrix and put the values into a vector, how can I do this?

results:

V1=[3,2,0]

V2=[2,2,5,3]

 

Please Wait...