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

    Oct 11, 2012 · 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. A = [1 2 …

  2. How do you make a 2-d array in Matlab? - Stack Overflow

    Mar 12, 2010 · I want to make a 2D array dij(i and j are subscripts). I want to be able to do dij = di,j-1+(di,j-1 - di-1,dj-1)/(4^j-1) My idea for this it to make to 1D arrays and then combine them …

  3. Matlab 2D Array | How 2D Array Works in Matlab with Examples …

    Mar 6, 2023 · We can easily declare the 2D array in Matlab as follows. m_array = zeros (value 1, value 2) Explanation: This is the first way to declare the 2D array in Matlab, here we use the …

  4. Multidimensional Arrays (Programming and Data Types)

    One way to create a multidimensional array is to create a two-dimensional array and extend it. For example, begin with a simple two-dimensional array A. A is a 3-by-3 array, that is, its row …

  5. MATLAB 2D arrays can be created similar to 1D arrays: entering the values directly enclosed by square brackets (row elements separated by commas or spaces and rows are separated by …

  6. MATLAB Multi-Dimensional Array - Online Tutorials Library

    To create a multi dimensional array, first let us create a 2 dimensional array and later extend it into a multidimensional array. Let us create a 3x3 2D array as shown below − A = [1 2 3; 4 5 6; …

  7. Creating Matrices and Arrays - MATLAB & Simulink

    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 …

  8. MATLAB Multidimensional Arrays: Documentation & Examples

    Oct 11, 2012 · 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. A = [1 2 …

  9. Producing 2D array from a 1D array in MATLAB - Stack Overflow

    Feb 5, 2010 · Does anyone know if there is a way to produce a 2D array from a 1D array, where the rows in the 2D are generated by repeating the corresponding elements in the 1D array. …

  10. How to Create Arrays in MATLAB – TheLinuxCode

    Dec 27, 2023 · This tutorial covered the main methods for creating arrays in MATLAB: Row vectors using comma separated values ; Column vectors with semicolon separated values; 2D …

  11. Some results have been removed
Refresh