About 2,430,000 results
Open links in new tab
  1. linspace - Generate linearly spaced vector - MATLAB - MathWorks

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

  2. How to use linspace and what is it's purpose? - MATLAB Answers

    Jun 4, 2016 · There are two principal ways to create vectors in MATLAB. One is the colon (:) operator, and the other is the linspace function. The principal difference is that with the colon operator, you …

  3. Plotting sine functions using linspace command - MATLAB Answers ...

    Feb 25, 2024 · The variable, t, should contain 450 data points, in the interval shown below. You should be using the linspace command for this because you are provided with the number of points in the …

  4. colon - Vector creation, array subscripting, and for-loop iteration ...

    Tips The for reference page has a description of how to use : in the context of loop statements. linspace is similar to the colon operator :, but it gives direct control over the number of points and always …

  5. Linearly Spaced Vectors - MATLAB - MathWorks

    Oct 26, 2007 · Linearly Spaced Vectors (Originally posted on Doug's MATLAB Video Tutorials blog.) When I look at code written by new users, sometimes, I will see code like this: a = [1 2 3 4 5 6 7 8 9 …

  6. using linspace in a matrix incrementing by a certain number - MATLAB ...

    Jan 19, 2023 · using linspace in a matrix incrementing by a certain number Follow 6 views (last 30 days) Show older comments

  7. Generate Sequence of Dates and Time - MATLAB & Simulink

    Nov 1, 2013 · This example shows how to use the linspace function to create equally spaced datetime or duration values between two specified endpoints. Create a sequence of five equally spaced dates …

  8. What is the difference between linspace and the colon operator in this ...

    Nov 12, 2017 · What is the difference between linspace and the colon operator in this code? Follow 4 views (last 30 days) Show older comments

  9. Alternative for linspace? - MATLAB Answers - MATLAB Central

    Feb 11, 2022 · Alternative for linspace?. Learn more about linspace, loops

  10. Create Uniform and Nonuniform Time Vectors - MATLAB & Simulink

    Nonuniform Time Vectors Combine linspace and the colon operator to generate nonuniform time vectors of arbitrary characteristics. Suppose you have a Gaussian-modulated sinusoidal pulse that you must …