About 393,000 results
Open links in new tab
  1. Multidimensional Arrays - MATLAB & Simulink - MathWorks

    Oct 11, 2012 · Creating Multidimensional Arrays 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 …

  2. Matrices and Arrays - MATLAB & Simulink - MathWorks

    Jul 8, 2010 · 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 …

  3. 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 indexing, and …

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

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

  5. Creating, Concatenating, and Expanding Matrices - MATLAB & Simulink

    The createArray function (since R2024a) can return arrays of almost any MATLAB data type. The function uses the same syntax as zeros and ones to define the size of the array, but it also offers …

  6. reshape - Reshape array by rearranging existing elements - MATLAB

    GPU Arrays Accelerate code by running on a graphics processing unit (GPU) using Parallel Computing Toolbox™. Distributed Arrays Partition large arrays across the combined memory of your cluster …

  7. 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 shape and content, …

  8. length - Length of largest array dimension - MATLAB - MathWorks

    Description L = length(X) returns the length of the largest array dimension in X. For vectors, the length is simply the number of elements. For arrays with more dimensions, the length is max(size(X)). The …

  9. max - Maximum elements of array - MATLAB - MathWorks

    If A and B are both arrays, then they must be the same data type unless one is a double. In that case, the data type of the other array can be single, duration, or any integer type. If A and B are ordinal …

  10. mean - Average or mean value of array - MATLAB - MathWorks

    This MATLAB function returns the mean of the elements of A along the first array dimension whose size does not equal 1.