I have a matrix of size 10*4, I want to read the matrix and after that want to read only second column, so can I get output like that??

2 visualizaciones (últimos 30 días)
Because for specific condition I need only second column values. Please help.

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 25 de Ag. de 2016
A=rand(10,4)
c2=A(:,2)

Más respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by