Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

logspace (MathScript Function) (Windows, Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the waveform generation class.

Syntax

c = logspace(a, b)

c = logspace(a, b, n)

Description

Generates logarithmically distributed samples in an interval.

Examples

Inputs

Name Description
a Specifies a scalar.
b Specifies a scalar.
n Specifies the number of logarithmically distributed samples to generate. n is an integer. The default is 50.

Outputs

Name Description
c Returns n logarithmically distributed samples in the interval [10^a, 10^b]. If b = pi, then c returns samples that lie in the interval [10^a, pi]. c is a vector.

Examples

C = logspace(1, 3, 30)

Related Topics

linspace


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit