Matlab Onramp: Section 5.1 Further Practice

3 ビュー (過去 30 日間)
AG
AG 2020 年 6 月 5 日
  1 件のコメント
NITIN BHAGWAT NIGHUTE
NITIN BHAGWAT NIGHUTE 2020 年 7 月 25 日
y = 9
data(y)

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

回答 (1 件)

Vishal Gaur
Vishal Gaur 2020 年 6 月 8 日
編集済み: Vishal Gaur 2020 年 6 月 8 日
I am assuming that you need some clarification on Matrix Indexing with one subscript. So, in this case, what MATLAB actually does that it forms a column vector by adding all the elements of the matrix column-wise. For Example, Let's say a matrix A with dimensions 4X3. So, if you are accessing A(6), then it will result as A(2,2).
For more information, you can see the Linear Indexing Section of Matrix Indexing in MATLAB here.

カテゴリ

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