About 13,900,000 results
Open links in new tab
  1. 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, …

  2. Matrices and Arrays - MATLAB & Simulink - MathWorks

    MATLAB is an abbreviation for "matrix laboratory." While other programming languages mostly work with numbers one at a time, MATLAB® is designed to operate primarily on whole …

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

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

  4. Basic Matrix Operations - MATLAB & Simulink Example

    This example shows basic techniques and functions for working with matrices in the MATLAB® language.

  5. 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.

  6. Create Arrays of Random Numbers - MATLAB & Simulink

    You can use the randperm function to create a double array of random integer values that have no repeated values. For example, create a 1-by-5 array containing integers randomly selected …

  7. Matrices in the MATLAB Environment - MATLAB & Simulink

    This topic contains an introduction to creating matrices and performing basic matrix calculations in MATLAB ®. The MATLAB environment uses the term matrix to indicate a variable containing …

  8. repmat - Repeat copies of array - MATLAB - MathWorks

    To create block arrays and perform a binary operation in a single pass, use bsxfun. In some cases, bsxfun provides a simpler and more memory efficient solution.

  9. zeros - Create array of all zeros - MATLAB - MathWorks

    X = zeros(sz) returns an array of zeros where size vector sz defines size(X). For example, zeros([2 3]) returns a 2-by-3 matrix.

  10. diag - Create diagonal matrix or get diagonal elements of matrix

    This MATLAB function returns a square diagonal matrix with the elements of vector v on the main diagonal.