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

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

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Member of the integration class.

Syntax

dblquad(f, xmin, xmax, ymin, ymax)

dblquad(f, xmin, xmax, ymin, ymax, n)

dblquad(f, xmin, xmax, ymin, ymax, n, method)

c = dblquad(f, xmin, xmax, ymin, ymax)

c = dblquad(f, xmin, xmax, ymin, ymax, n)

c = dblquad(f, xmin, xmax, ymin, ymax, n, method)

Description

Computes the double integral of the function f in the 2D interval [xmin, xmax]-by-[ymin, ymax]. The integrator does not work in an adaptive way.

Details

Examples

Inputs

Name Description
f Specifies the function you want to integrate. f is a string that represents a function of two variables. The two variables must be x and y.
xmin Specifies a real scalar.
xmax Specifies a real scalar. xmax must be greater than xmin.
ymin Specifies a real scalar.
ymax Specifies a real scalar. ymax must be greater than ymin.
n Specifies the number of integration points in the x- and y-direction. n is a natural number greater than 1. The default is 100.
method Specifies the method to use to compute the double integral. method is a string that accepts the following values.

'bode' Bode method
'simps' Simpson method
'simps3/8' Simpson 3/8 method
'trapz' (default) Trapezoidal method

Outputs

Name Description
c Returns the double integral. c is a real scalar.

Details

This function is not supported in the LabVIEW Run-Time Engine. Do not use this function in a stand-alone application or shared library.

Examples

C = dblquad('sin(x)*cos(y)', 0, 1, 0, 2, 200, 'bode')

Related Topics

cumtrapz
quad8
quadl
triplequad


Resources


 

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