3D/2D vector field plotter

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

Vous suivez désormais cette soumission

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

Citation pour cette source

Rentian Xiong (2026). 3D/2D vector field plotter (https://fr.mathworks.com/matlabcentral/fileexchange/7338-3d-2d-vector-field-plotter), MATLAB Central File Exchange. Extrait(e) le .

Catégories

En savoir plus sur Vector Fields dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0