Table Of Contents

linramp

Version:
    Last Modified: March 15, 2017

    Generates equally distributed samples that lie between two values.

    Syntax

    c = linramp(a, b)
    c = linramp(a, b, n)
    Legacy name: linspace

    Inputs

    a

    Lowest value of the range from which you want to take the samples. a is a scalar.

    b

    Highest value of the range from which you want to take the samples. b is a scalar.

    n

    Number of samples to generate. n is an integral number.

    Default: 100

    Outputs

    c

    N equally distributed samples between a and b. c is a vector.

    C = linramp(1, 10, 30)

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices


    Recently Viewed Topics