flow - 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, 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.

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS