About 262,000 results
Open links in new tab
  1. colon - Vector creation, array subscripting, and for-loop iteration ...

    The colon is one of the most useful operators in MATLAB ®. It can create vectors, subscript arrays, and specify for iterations.

  2. linspace - Generate linearly spaced vector - MATLAB - MathWorks

    This MATLAB function returns a row vector of evenly spaced points between x1 and x2.

  3. Make the vector [1 2 3 4 5 6 7 8 9 10] - MATLAB Cody - MathWorks

    Aug 9, 2010 · You can create a vector both by enclosing the elements in square brackets like v= [1 2 3 4 5] or using commas, like v= [1,2,3,4,5]. They mean the very same: a vector (matrix) of 1 row and 5 …

  4. char, ' ' - Character array - MATLAB - MathWorks

    Convert A to a character vector using the char function. MATLAB displays character vectors with single quotes.

  5. Vectorization - MATLAB & Simulink - MathWorks

    Vectorization Using Vectorization MATLAB ® is optimized for operations involving matrices and vectors. The process of revising loop-based, scalar-oriented code to use MATLAB matrix and vector …

  6. repmat - Repeat copies of array - MATLAB - MathWorks

    This MATLAB function returns an array containing n copies of A in the row and column dimensions.

  7. creating a vector that repeats a number 360 times - MATLAB Answers ...

    May 9, 2014 · The number 500 will be repeated 360 times. The answer will be a column vector. Take transpose to get row vector.

  8. How to Make a Vector in MATLAB - MathWorks

    Feb 8, 2021 · How to Make a Vector in MATLAB In this video, you’ll learn how to take output from a function or multiple functions to create a vector. By creating a vector from a single output or multiple …

  9. Creating Matrices and Arrays - MATLAB & Simulink - 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 …

  10. converting a horizontal matrix to vertical - MATLAB Answers - MATLAB ...

    May 2, 2015 · Secondly, since NEG is a row vector, the second column of it, which you pass into findpeaks () will be just a single number, which is the number of the second index where your signal …