About 1,530,000 results
Open links in new tab
  1. plus - Add numbers, append strings - MATLAB - MathWorks

    Operands, specified as scalars, vectors, matrices, multidimensional arrays, tables, or timetables. Inputs A and B must either be the same size or have sizes that are compatible (for example, A …

  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 - MathWorks

    Creating, Concatenating, and Expanding Matrices The most basic MATLAB® data structure is the matrix. A matrix is a two-dimensional, rectangular array of data elements arranged in rows and …

  4. Combining matrices of different sizes - MATLAB Answers

    Combining matrices of different sizes. Learn more about concatenate MATLAB

  5. How to add matrices with different dimensions - MathWorks

    Apr 4, 2014 · hello, I want the shortest way to add matrices with different dimensions. I know the easiest way but it is not appropriate for big matrices like 10*10 or bigger please see the picture …

  6. Add two matrices (element wise addition) together ignoring NaNs

    Feb 21, 2020 · I would simply like to add two matrices together, element-wise, ignoring the NaNs. I realize one solution is to replace NaNs with zeros but I have some reported zeros that I want …

  7. cat - Concatenate arrays - MATLAB - MathWorks

    Concatenate two matrices vertically, then horizontally. Create two matrices, and vertically append the second matrix to the first.

  8. How do you append to a matrix within a for loop? - MathWorks

    Jan 13, 2025 · Loop 1 produces a matrix, on the next iteration I need to append to this matrix the results of that loop, and so on until all of the data is processed.

  9. Add matrix to matrix - MATLAB Answers - MATLAB Central

    Aug 30, 2017 · 2/ After that, How to add two matrices (Bi & index_Bi) to matrix A, we will have the result:

  10. sum - Sum of array elements - MATLAB - MathWorks

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