How can i plot Electric field graph of Electric dipole?
33 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
dilshad hossain
el 5 de Mzo. de 2015
Comentada: Chathurika
el 5 de Dic. de 2023
How can i plot graph with two different independent variable with one dependent variable? Like Electric field of dipole
1 comentario
Leosdan Figueredo Noris
el 25 de Abr. de 2023
How can I plot the graph of a cylindrical magnetic dipole?
Respuesta aceptada
Joseph Cheng
el 5 de Mzo. de 2015
you can use the function quiver() examples on its use can be found http://www.mathworks.com/help/matlab/ref/quiver.html. So if position (x and y) about the dipole are your independent variables and the magnitude of the field is your dependent the quiver plot can show you at the x and y position the magnitude and direction of the field.
2 comentarios
Joseph Cheng
el 5 de Mzo. de 2015
it has been a while but i'm taking a is the angle normal to dipole and R is the distance from the center point between the two poles. Then you can convert any X and Y coordinate into distance and angle.
r = sqrt(x^2+y^2)
a = atan2d(y,x).
Más respuestas (1)
Antonio Cedillo Hernandez
el 21 de Abr. de 2020
Here you have the full MATLAB code explained (in spanish but the first comment is the code): https://www.youtube.com/watch?v=k9srU6aQfL0
2 comentarios
Ver también
Categorías
Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!