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

diric (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 = diric(a, b)

Description

Generates the Dirichlet function, sin(b*a/2)./(b*sin(a/2)).

Examples

Inputs

Name Description
a Specifies the sampling time. a is a real array.
b Specifies the number of equally spaced extrema of the function in the interval [0, 2*pi]. b is a positive integer.

Outputs

Name Description
c Returns the sampled Dirichlet function.

Examples

X = -5*pi:0.01:5*pi;
Y = diric(X, 5);
plot(X, Y)

Related Topics

chirp
gauspuls
gmonopuls
pulstran
rectpuls
sawtooth
sinc
square
tripuls
vco


Resources


 

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