Copy particular column from an array

Hi I have an a matrix Y = [ 1 1 1 1 1; 2 3 4 5 6].
How do I copy just the first three values in column 2 into a new matrix
X = [2 3 4]

Categorías

Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.

Preguntada:

el 17 de Jul. de 2015

Editada:

el 17 de Jul. de 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by