Access or assign to elements of a matrix using methods of row and column indexing.
https://www.mathworks.com/help/matlab/math/matrix-indexing.html
* Support
* MathWorks
* Documentation
* MathWorks
* Documentation
* Support
* Trial Software
* Product Updates
* Documentation Home
* MATLAB
* Examples
* Functions
* Release Notes
* PDF Documentation
* Language Fundamentals
* Matrices and Arrays
* Matrix Indexing
* Accessing Single Elements
* Linear Indexing
* Functions That Control Indexing Style
* Assigning to Elements Outside Array Bounds
* Accessing Multiple Elements
* Nonconsecutive Elements
* The end Keyword
* Specifying All Elements of a Row or Column
* Using Logicals in Array Indexing
* Logical Indexing – Example 1
* Logical Indexing – Example 2
* Logical Indexing with a Smaller Array
* Single-Colon Indexing with Different Array Types
* Indexing on Assignment
* Related Topics
* Multidimensional Arrays
* sub2ind
* ind2sub
* end
* if
* for
* find
* Access Data in a Structure Array
* Access Data in Cell Array
* ndims
* Access Data Using Categorical Arrays
* Access Data in a Table
* Access Data in a Structure Array
* Access Data in Cell Array
* Select
* América Latina
* Canada
* United States
* Belgium
* Denmark
* Deutschland
* España
* Finland
* France
* Ireland
* Italia
* Luxembourg
* Netherlands
* Norway
* Österreich
* Portugal
* Sweden
* Deutsch
* English
* Français
* United Kingdom
* Australia
* India
* New Zealand
* 简体中文
* English
* 日本
* 한국
* Trial Software
* Product Updates
* MATLAB Documentation
* Examples
* Functions
* Release Notes
* PDF Documentation
* Support
* MATLAB Answers
* Installation Help
* Bug Reports
* Product Requirements
* Software Downloads
* The Manager's Guide to Solving the Big Data Conundrum
* Download white paper