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

    Jul 8, 2010 · Matrix and Array Operations. MATLAB allows you to process all of the values in a matrix using a single arithmetic operator or function.

  2. Basic Matrix Operations - MATLAB & Simulink Example

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

  3. 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, categorical values, or some other MATLAB data type.

  4. 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 real or complex numbers arranged in a two-dimensional grid.

  5. How to display a string and matrix in MATLAB?

    Feb 18, 2014 · Same question, sometimes I wish to print sentence like 'The sum of matrix 1...n is N', which involves a matrix [1 .. n] and variable N, as well as strings. So how am I suppose to print this one out? Thank you!

  6. inv - Matrix inverse - MATLAB - MathWorks

    inv performs an LU decomposition of the input matrix (or an LDL decomposition if the input matrix is Hermitian). It then uses the results to form a linear system whose solution is the matrix inverse inv(X). For sparse inputs, inv(X) creates a sparse identity matrix and uses backslash, X\speye(size(X)).

  7. linsolve - Solve symbolic linear equations in matrix form - MATLAB

    X = linsolve(A,B) solves the matrix equation AX = B, where A is a symbolic matrix and B is a symbolic column vector. example [ X , R ] = linsolve( A , B ) also returns the reciprocal of the condition number of A if A is a square matrix.

  8. Code Generation of Matrices and Arrays - MATLAB & …

    MATLAB ® stores matrix data and arrays (1–D, 2–D, ...) in column-major format as a vector. Simulink ® and the code generator can store array data in column-major or row-major format. For an array stored in column-major layout, the elements of the columns are contiguous in memory.

  9. det - Matrix determinant - MATLAB - MathWorks

    The determinant of a matrix can be arbitrarily close to zero without conveying information about singularity. To investigate if A is singular, use either the cond or rcond functions. Calculate the condition number of A .

  10. Array Indexing - MATLAB & Simulink - MathWorks

    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 logical indexing. You can also use mixed indexing by …

Refresh