About 36,800,000 results
Open links in new tab
  1. Creating, Concatenating, and Expanding Matrices - MathWorks

    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.

  2. Creating Matrices and Arrays - MathWorks

    This example shows basic techniques for creating arrays and matrices using MATLAB. Matrices and arrays are the fundamental representation of information and data in MATLAB. To create an array with multiple elements in a single row, separate the …

  3. Matrices and Arrays - MathWorks

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

  4. Make and Manipulate Matrices | Self-Paced Online Courses - MATLAB

    Learn to create arrays in MATLAB with concatenation to build new matrices from existing ones, array creation functions, reshaping arrays, and indexing to extract submatrices.

  5. matlab matrix from array - Stack Overflow

    Jan 3, 2014 · I have large array. Now I need a matrix with 8 elements in every row. My array looks like this: A= Columns 1 through 18 0 0 0 0 0 0 0 0 0 0 1 1 0 1 1 1 0 0 Columns 19 through 36. 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0 0 and so on. How I can get [nx8] matrix? For example:

  6. Array of Matrices in MATLAB - Stack Overflow

    Here is a sample function to create your matrices in a cell array: function result = createArrays(nArrays, arraySize) result = cell(1, nArrays); for i = 1 : nArrays result{i} = zeros(arraySize); end end

  7. How to create a matrix from an equation in Matlab?

    Jul 5, 2019 · Let A = (aij) (a i j) be the matrix with entries. aij =i2 +j2 a i j = i 2 + j 2. A is a N × N N × N matrix. How can I construct a matrix from this equation? Move through each entry of the matrix using a for-loop for i i and for-loop for j j (one inside …

  8. How to Create a Matrix in Matlab - AcademicHelp.net

    Nov 21, 2023 · In MATLAB, a matrix is a fundamental data structure, used to represent and manipulate arrays of numbers. This guide will delve into the process of creating matrices in MATLAB, covering everything from basic construction to expanding matrices and ensuring compatibility in operations.

  9. arrays - Making a matrix out of vectors in MATLAB? - Stack Overflow

    Jan 28, 2014 · If I have vectors of equal length (A, B, and C for example), how can I put them in a matrix (A, B, C) in MATLAB? If they are row vectors: [A; B; C] or [A; B; C].'. The .' is matrix transposition. If they are column vectors: [A, B, C] or [A, B, C].'. If they can be either colmuns or rows: [A(:), B(:), C(:)] or [A(:), B(:), C(:)].'.

  10. How can I convert an array to a matrix? - MATLAB Answers

    Jan 29, 2013 · In MATLAB all arrays are matrices... You may achieve what you need by using the RESHAPE command.

  11. Some results have been removed
Refresh