FUNCTION REFERENCE

stream2

Trace 2-D streamlines without drawing.

Trace 2-D streamlines without drawing.

Syntax

vertices = stream2(X, Y, U, V, startx, starty)

Syntax

vertices = stream2(U, V, startx, starty, [step maxvert])

Returns a cell column containing N-by-2 vertex matrices, with the same tracing rules as streamline.

Example

c = stream2(zeros(2), zeros(2), 1, 1); c{1}   % [1 1]

Differences from MATLAB: only rectilinear 2-D meshgrids are supported.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.