MATLAB: Find the first column of a 3×3 matrix

find rowMATLAB

I have a3x3 matrix. I need the vector x to be the first column of the matrix. thank you
david

Best Answer

A = rand(3,3);
x = A(:,1);