How do I read the value from an individual cell in a matrix

조회 수: 2 (최근 30일)
Phillip Addison
Phillip Addison 2012년 7월 5일
I have set of data in a 101 by 1 matrix, how would i read a value from an individual cell.

채택된 답변

Luffy
Luffy 2012년 7월 5일
if u want to read from 'i'th cell,
data(i); % in ur case shud be suffice.
data(i,:); % gives data in ith row

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Types에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by