MATLAB: Selecting even rows

matrix

I have a matrix of 14×6,in this matrix i want to select only even rows and display,please help

Best Answer

A - your matrix
A = randi(23,14,6)
out = A(2:2:end,:)