streamfun

版本 1.0.0.0 (1.5 KB) 作者: Tristan Ursell
A fast(er) and low overhead alternative to the stream2 function.
117.0 次下载
更新时间 2015/8/19

查看许可证

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.

引用格式

Tristan Ursell (2024). streamfun (https://www.mathworks.com/matlabcentral/fileexchange/52561-streamfun), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2013a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0