About 77,700 results
Open links in new tab
  1. How do I iterate through each element in an n-dimensional matrix …

    Matlab terminology note: Matlab has a small number of core data types. The most important are: struct, matrix, and cell array. When referring to parts of a matrix, it's common to use the term …

  2. matlab - Create a 3D matrix - Stack Overflow

    May 8, 2010 · How can I define a 3D matrix in MATLAB? For example a matrix of size (8 x 4 x 20) or add a 3rd dimension to an existing 2D matrix?

  3. how to create logical matrix directly in matlab - Stack Overflow

    Apr 19, 2015 · I have so far been using a = logical (zeros (10,10)) to create logical matrix. Is there a way to create it directly?

  4. Making a augmented matrix in matlab, and reduced row echelon …

    Oct 19, 2013 · Augment matrices in Matlab using commas to put to the right and semi-colons to put below (similar to how you define matrices to begin with).

  5. How do I create a 1 by N matrix, with elements from 1 to N …

    Aug 29, 2011 · How do I create a 1 by N matrix, with elements from 1 to N (matlab)? Asked 14 years, 3 months ago Modified 14 years, 3 months ago Viewed 8k times

  6. Array of Matrices in MATLAB - Stack Overflow

    In fact, each matrix can be stored in a different space in memory, which will save you from Out-of-Memory errors if your free memory is fragmented. Here is a sample function to create your …

  7. Create a Symmetric Matrix from a vector in MATLAB

    Dec 4, 2015 · How to covert vector A to symmetric matrix M in MATLAB Such that M is a symmetric matrix (i.e. A21=A12) and all diagonal terms are equal (i.e. A11=A22=A33=A44).

  8. MATLAB: duplicating vector 'n' times - Stack Overflow

    Jul 29, 2016 · I conducted a small Matlab test to check the speed differential between repmat and tony's trick. Using the code mentioned below, I calculated the times for constructing the same …

  9. matlab - Create an array of strings - Stack Overflow

    Is it possibe to create an array of strings in MATLAB within a for loop? For example, for i=1:10 Names(i)='Sample Text'; end I don't seem to be able to do it this way.

  10. matlab - the easiest way to convert matrix to one row vector

    Jan 20, 2014 · Possible Duplicate: How do you concatenate the rows of a matrix into a vector in MATLAB? Hi, Does anyone know what is the best way to create one row matrix (vector) from …