Electrical dipole isostatic, electric field wire Matlab code questions

Asked 2 years ago, Updated 2 years ago, 63 views

I'm a student in electrical engineering!

The distribution graph of the isotropotential and electric field lines generated by the electrical dipole, as shown in the picture below I want to implement it with MATLAB code...

As far as I can remember, I implemented the matte wrap code as below

When I ran it, it appeared linear, not nonlinear, in the form below...

I'd like to show it in a curved shape like the first picture, but does anyone know about this...?

matlab

2022-09-20 08:57

1 Answers

I checked online octave similar to matlab.

octave:2> -pi:pi
ans =
   -3.1416   -2.1416   -1.1416   -0.1416    0.8584    1.8584    2.8584

Theta is not dense.

theta = -pi:0.1:pi

If you do that, it looks like you're going to have a tighter curve.


2022-09-20 08:57

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.