streamfun
Stuart Bivens & Tristan Ursell
August 2015
[xterp yterp] = streamfun(x,y,u,v,xq,yq)
[xterp yterp] = streamfun(x,y,u,v,xq,yq,dt)
Given a vector field specified at the positions by x and y, with the vector field values specified by u and v, this function will interpolate the vector field at the specified points xq and yq and then compute their linear movements with a step size dt.
x and y are meshgrid positions of the vector field
u and v are values of the vector field
xq and yq are the positions of the sample points to be advanced
dt is an optional multiplier used to adjust length of interpolated vectors, defaults to 1.
Cite As
Tristan Ursell (2025). streamfun (https://www.mathworks.com/matlabcentral/fileexchange/52561-streamfun), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Interpolation >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |