Calculates a 2D array of function values defined on a grid.


icon

Inputs/Outputs

  • cu32.png number of points

    number of points describes the number of grid points for both variables. The default is 25.

  • c1ddbl.png Start

    Start specifies the start points of both variables, that is, an array of length 2. The default values are (0, 0).

  • c1ddbl.png End

    End specifies the end points of both variables, that is, an array of length 2. The default values are (1, 1).

  • cstr.png formula

    formula is a string representing a function definition of exactly two different variables. The formulas can contain any number of valid variables.

  • c1dstr.png Variables

    Variables is an array of two strings representing the two variables with respect to the naming conventions of the Formula Parsing VIs. The default variables are (x1, x2).

  • i1ddbl.png X1 Values

    X1 Values is a 1D array of the used x1 arguments.

  • i1ddbl.png X2 Values

    X2 Values is a 1D array of the used x2 arguments.

  • i2ddbl.png Y Values

    Y Values is the resulting 2D array of the function values.

  • ii32.png error

    error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster.

  • iu32.png ticks

    ticks is the time effort for the whole calculation of the function values in milliseconds.

  • The following illustration shows the visualization of the function

    f(x1, x2) = sin(3*x1) * cos(3*x2)

    in the interval

    (–2, 2) × (–2, 2).