About 119,000 results
Open links in new tab
  1. Array Indexing - MATLAB & Simulink - MathWorks

    Sep 10, 2011 · To access elements in a range of rows or columns, use the colon operator. For example, access the elements in the first through third rows and the second through fourth columns of A.

  2. matrix - How find rows and columns in matlab - Stack Overflow

    Sep 7, 2016 · Question is how to find rows and columns (sort by rows) in variable A from variable B. Example, first index in variable B is 2, and then I want to find value 2 in variable A and get to first …

  3. MATLAB - Colon Notation - Online Tutorials Library

    You can use the colon operator to create a vector of indices to select rows, columns or elements of arrays. The following table describes its use for this purpose (let us have a matrix A) −

  4. MATLAB - MathWorks

    MATLAB includes a programming language, interactive apps, highly specialized libraries for engineering applications, and tools for automatically generating embedded code. MATLAB is also the foundation …

  5. ind2sub - Convert linear indices to subscripts - MATLAB

    Convert the linear indices [3 4 5 6] to row and column subscripts in a 3-by-3 matrix. The mapping from linear indices to subscripts (indexing by position) is illustrated in the following.

  6. What is the definition and operation of [row,col] - MATLAB

    Jul 8, 2018 · Learn more about what is the definition and operation of [row, col] MATLAB.

  7. sub2ind - Convert subscripts to linear indices - MATLAB

    This MATLAB function returns the linear indices ind corresponding to the row and column subscripts in row and col for a matrix of size sz.

  8. MATLAB Documentation - MathWorks

    Millions of engineers and scientists worldwide use MATLAB ® to analyze and design the systems and products transforming our world. The matrix-based MATLAB language is the world’s most natural …

  9. How to get the row and column from a matrix? - MATLAB Answers - MATLAB

    Jun 23, 2019 · Getting "the row and column from a matrix" is much, much different than getting the dimensions (size) of the matrix in terms of number of rows and number of columns in the matrix.

  10. for - for loop to repeat specified number of times - MATLAB

    This MATLAB function executes a group of statements in a loop for a specified number of times.