Clear Filters
Clear Filters

Matlab Onramp: Section 5.1 Further Practice

1 view (last 30 days)
AG
AG on 5 Jun 2020

Answers (1)

Vishal Gaur
Vishal Gaur on 8 Jun 2020
Edited: Vishal Gaur on 8 Jun 2020
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.

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!