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 日

0 投票

A=[2,3,6,8,7,5,4,2,7,8,9];
B = A(4)

その他の回答 (1 件)

vijayasinthujan vijayaratnam
vijayasinthujan vijayaratnam 2012 年 2 月 19 日

0 投票

thank you

1 件のコメント

Jan
Jan 2012 年 2 月 19 日
It is recommended to read the Getting Started chapters of the documentation.

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

カテゴリ

ヘルプ センター および File Exchange で Get Started with MATLAB についてさらに検索

製品

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by