Simple function of three variables


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


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 25-by-50-by-25 array.

v = flow(n) produces a n-by-2n-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


Introduced before R2006a

Was this topic helpful?