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에서 Read, Write, and Modify Image에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by