Skip to Main Content Skip to Search
Product Documentation

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 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

interp3 | slice

How To

  


Free MATLAB Interactive Kit

Explore how to use MATLAB to make advancements in engineering and science.


Download free kit

Trials Available

Try the latest version of MATLAB and other MathWorks products.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS