Matlab Onramp: Section 5.1 Further Practice

2 次查看(过去 30 天)

回答(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 CenterFile 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