Plotting electric field at many points in 3D space.
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Abhay Mohan
el 8 de En. de 2017
Comentada: Abhay Mohan
el 7 de Mzo. de 2020
Hi,
Let me first say that I am aware of surf and plot3 functions, neither of which seem to help me in this scenario:
I have to plot the electric field at many points in 3D space. So I have three vectors x, y and z that indicate positions and a vector Ez that indicates the strength of electric field at each point (x,y,z). If x is a 100 X 1 vector, so are y, z and Ez. Basically I need to plot the function Ez(x,y,z). I have four vector inputs.
Eg: (Values are just random)
x = 0, y = 0, z = 0, Ez = 100.
x = 0, y = 2, z = 0, Ez = 10.
x = 0, y = 4, z = 0, Ez = 1.
x = 2, y = 2, z = 0, Ez = 1.
...
How can I plot this?
0 comentarios
Respuesta aceptada
halleyhit
el 8 de En. de 2017
Maybe the function quiver3 may help you. However I haven't use this function so long time. I'm not sure if it works.
Más respuestas (2)
Ver también
Categorías
Más información sobre Surface and Mesh Plots en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!