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 次查看(过去 30 天)
Because for specific condition I need only second column values. Please help.

采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2016-8-25
A=rand(10,4)
c2=A(:,2)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by