フィルターのクリア

how to find 4th value of vector in matrix

1 回表示 (過去 30 日間)
vijayasinthujan vijayaratnam
vijayasinthujan vijayaratnam 2012 年 2 月 19 日
i have answer given by matlab in the form of vector
A=[2,3,6,8,7,5,4,2,7,8,9]
now i need to find only 4th value(which is 8 ) to appear on screen?

採用された回答

Wayne King
Wayne King 2012 年 2 月 19 日
A=[2,3,6,8,7,5,4,2,7,8,9];
B = A(4)

その他の回答 (1 件)

vijayasinthujan vijayaratnam
vijayasinthujan vijayaratnam 2012 年 2 月 19 日
thank you
  1 件のコメント
Jan
Jan 2012 年 2 月 19 日
It is recommended to read the Getting Started chapters of the documentation.

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

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by