フィルターのクリア

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 日
  1 件のコメント
Tom
Tom 2012 年 1 月 9 日
Many thanks.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by