About 284,000 results
Open links in new tab
  1. Matrices and Arrays - MATLAB & Simulink - MathWorks

    While other programming languages mostly work with numbers one at a time, MATLAB® is designed to operate primarily on whole matrices and arrays. All MATLAB variables are …

  2. Creating Matrices and Arrays - MATLAB & Simulink - MathWorks

    This example shows basic techniques for creating arrays and matrices using MATLAB.

  3. Matrices and Arrays - MATLAB & Simulink - MathWorks

    Matrices and arrays are the fundamental representation of information and data in MATLAB ®. You can create common arrays and grids, combine existing arrays, manipulate an array's …

  4. Array Indexing - MATLAB & Simulink - MathWorks

    Sep 10, 2011 · In MATLAB®, there are three primary approaches to accessing array elements based on their location (index) in the array. These approaches are indexing by position, linear …

  5. Creating, Concatenating, and Expanding Matrices - MATLAB

    A matrix is a two-dimensional, rectangular array of data elements arranged in rows and columns. The elements can be numbers, logical values (true or false), dates and times, strings, …

  6. Multidimensional Arrays - MATLAB & Simulink - MathWorks

    You can create a multidimensional array by creating a 2-D matrix first, and then extending it. For example, first define a 3-by-3 matrix as the first page in a 3-D array.

  7. Array Indexing - MATLAB & Simulink - MathWorks

    Sep 10, 2011 · Every variable in MATLAB® is an array that can hold many numbers. When you want to access selected elements of an array, use indexing. For example, consider the 4-by-4 …

  8. Working with Arrays in MATLAB - MATLAB - MathWorks

    Jun 29, 2020 · Create and manipulate MATLAB arrays, including accessing elements using indexing.

  9. colon - Vector creation, array subscripting, and for-loop iteration ...

    Description The colon is one of the most useful operators in MATLAB ®. It can create vectors, subscript arrays, and specify for iterations.

  10. Array vs. Matrix Operations - MATLAB & Simulink - MathWorks

    The following table provides a summary of arithmetic array operators in MATLAB. For function-specific information, click the link to the function reference page in the last column.