Wednesday, August 5, 2009

flops

Count floating-point operations

Description

This is an obsolete function. With the incorporation of LAPACK in MATLAB version 6, counting floating-point operations is no longer practical.



flow

A simple function of three variables

Syntax

  • v = flow
    v = flow(n)
    v = flow(x,y,z)
    [x,y,z,v] = flow(...)

Description

flow, a function of three variables, is the speed profile of a submerged jet within a infinite tank. flow is useful for demonstrating slice, interp3, and for generating scalar volume data.

v = flow produces a 50-by-25-by-25 array.

v = flow(n) produces a 2n-by-n-by-n array.

v = flow(x,y,z) evaluates the speed profile at the points x, y, and z.

[x,y,z,v] = flow(...) returns the coordinates as well as the volume data.

No comments:

Post a Comment