How can i plot Electric field graph of Electric dipole?

6 ビュー (過去 30 日間)
dilshad hossain
dilshad hossain 2015 年 3 月 5 日
コメント済み: Chathurika 2023 年 12 月 5 日
How can i plot graph with two different independent variable with one dependent variable? Like Electric field of dipole
  1 件のコメント
Leosdan Figueredo Noris
Leosdan Figueredo Noris 2023 年 4 月 25 日
How can I plot the graph of a cylindrical magnetic dipole?

サインインしてコメントする。

採用された回答

Joseph Cheng
Joseph Cheng 2015 年 3 月 5 日
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 件のコメント
dilshad hossain
dilshad hossain 2015 年 3 月 5 日
here is the equation of Electric magnetic field. E=(q*d*(2cos(a)+sin(a)))/(r^3) here a & r is the independent variable and E dependent. Now how can i show the graph of E in matlab?
Joseph Cheng
Joseph Cheng 2015 年 3 月 5 日
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).

サインインしてコメントする。

その他の回答 (1 件)

Antonio Cedillo Hernandez
Antonio Cedillo Hernandez 2020 年 4 月 21 日
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 件のコメント
Chathurika
Chathurika 2023 年 12 月 5 日
Thank you so much for that clue..!..I could save my time
Chathurika
Chathurika 2023 年 12 月 5 日
Thank you so much for that clue..!..I could save my time

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSimulation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by