3D/2D vector field plotter

This function can plot both 3D and 2D vector field based on the input symbolic expression ...

您现在正在关注此提交

vectline is "vector field line plotter". Depending on the dimension of coordinate axis, vectline can plot both 3D and 2D vector field line.

Example for 2D field
>> syms x y
>> F = [-y, x];
>> vectline(F,[x,y],[-1,1,-1,1])

Example for 3D field

>> syms x y z
>> F = [x*y^2, x*y, z];
>> vectline(F,[x,y,z],[-1,1,-2,3,1,3])

引用格式

Rentian Xiong (2026). 3D/2D vector field plotter (https://ww2.mathworks.cn/matlabcentral/fileexchange/7338-3d-2d-vector-field-plotter), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 Vector Fields 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0