필터 지우기
필터 지우기

accessing particular parts of an array

조회 수: 2 (최근 30일)
Tom
Tom 2012년 1월 7일
i'm just wondering how i can refer to particular values within arrays. so if i had
x=[0,1,2,3,4];
y=x^2;
Then for whatever reason - maybe after a few more lines of code - i wanted to refer back to individual parts of the y array - how would i do that?
  댓글 수: 1
Matt Fig
Matt Fig 2012년 11월 2일
i'm just wondering how i can refer to particular values within arrays. so if i had
x=[0,1,2,3,4];
y=x^2;
Then for whatever reason - maybe after a few more lines of code - i wanted to refer back to individual parts of the y array - how would i do that?

댓글을 달려면 로그인하십시오.

채택된 답변

Andrew Newell
Andrew Newell 2012년 1월 7일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by