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

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

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the basic class.

Syntax

c = humps(a)

Description

Generates a curve with the maxima at 0.3 and 0.9. LabVIEW uses the following equation to compute the curve: humps(a) = ((x - 0.3)^2 + 0.01)^(-1) + ((x - 0.9)^2 + 0.04)^(-1) - 6

Examples

Inputs

Name Description
a Specifies a real or complex matrix.

Outputs

Name Description
c Returns the curve with the maxima at 0.3 and 0.9.

Examples

Z = [-1:0.01:3];
C = humps(Z);
plot(Z, C)


Resources


 

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