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

    Create vectors that increment or decrement by a specified value. Create a vector whose elements increment by 0.1.

  2. Learn about vector properties in MATLAB, methods to create row and column vectors, mathematical functions with vectors, and element-by-element vector operations. .* ./ .\ …

  3. MATLAB Vectors - Computer Action Team

    Using colon notation to create a vector requires you to specify the increment, whereas using the linspace command requires you to specify the total number of elements. The following …

  4. How to make a vector like vec (x) in MATLAB? - Stack Overflow

    Dec 2, 2017 · If you want to convert a matrix Theta into a vector, do. Theta(:) Edit: If you need to transpose the matrix first, MATLAB might not let you do Theta'(:). Instead do it in two steps: …

  5. 4.2: Methods to Create Vectors in MATLAB - Engineering LibreTexts

    % Vectors can be created in Matlab in the following ways. %% 1. Write a list of values between square brackets: B = [-3.1 1.789 2/7, exp (2)] % The values can be integers, decimals, or …

    Missing:

    • Line

    Must include:

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

    Create a vector of complex numbers with 8 evenly spaced points between 1+2i and 10+10i.

  7. How to Make a Vector in MATLAB - MATLAB - MathWorks

    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 outputs, you can perform …

    Missing:

    • Line

    Must include:

  8. line - Create primitive line - MATLAB - MathWorks

    Plot two lines by specifying x and y as matrices. Use line to plot columns of y versus columns of x as separate lines. Plot a line in 3-D coordinates by specifying x, y, and z values. Change the …

  9. MATLAB Vectors Overview - Online Tutorials Library

    MATLAB allows you to select a range of elements from a vector. For example, let us create a row vector rv of 9 elements, then we will reference the elements 3 to 7 by writing rv(3:7) and create …

  10. How To Initialize A Vector In Matlab (Resolved) - Lxadm.com

    Mar 8, 2023 · The linspace function can be used to create a vector in MATLAB by specifying a range and a number of elements in the output vector, while the colon notation operator can be …

Refresh