MATLAB Function Reference Previous page   Next Page

A simple function of three variables



flow, a function of three variables, generates fluid-flow data that is useful for demonstrating slice, interp3, and other functions that visualize 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.

See Also

slice, interp3

Volume Visualization for related functions

See Example -- Slicing Fluid Flow Data for an example that uses flow.

Previous page  flops fminbnd Next page

© 1994-2005 The MathWorks, Inc.