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

Spike Function (Not in Base Package)

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Generates the spike function for any real number x.

Details  

x is any real number.
spike(x) is the value of spike(x) for the given value of x.

Spike Function Details

The following equation defines the spike function:

spike(x) = 1, if 0 x < 1 and 0 elsewhere.

Note  You can define more complex functions by varying and combining the Step Function, Spike Function, and Square Function VIs, respectively.

The following illustration shows the graph for spike(x) – spike(–x) in the interval (–4.0, 4.0).


Resources


 

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