How to plot the electric field in 3D?

5 次查看(过去 30 天)
I want to draw the electric field lines in 3D. However I have the following Data:
  1. - Ex (nx1): the electric field in the X direction as a vector data.
  2. - Ex (nx1): the electric field in the Y direction as a vector data.
  3. - Ez (nx1): the electric field in the Z direction as a vector data.
  4. - X (nx1) the x coordination of the charges position.
  5. - Y (nx1) the y coordination of the charges position
  6. - Z (nx1) the z coordination of the charges position
By the way, n=10,000
" streamline" command requires 3D matrices which gives me ' out of memory'
Thank you for your kind help:)

回答(1 个)

X.-X. Liang
X.-X. Liang 2018-12-5
quiver3
3-D quiver or velocity plot

类别

Help CenterFile Exchange 中查找有关 Vector Fields 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by