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??

1 回表示 (過去 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 Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by