Filter löschen
Filter löschen

How can I find the electrical field at (0.56, 0.70)?

1 Ansicht (letzte 30 Tage)
suketu vaidya
suketu vaidya am 9 Jan. 2021
Beantwortet: Kathryn Akmal am 9 Jan. 2021
Find analytical value of charge on the
% coaxial cable capacitor plates
Q = 10*2*pi*L / (log(0.8) - log(0.2))
% find analytical values of the electric field in the
% dielectric
E = Q ./(2*pi*vr*L)
El = (s(2:end,1) - s(1:end-1,1))/hr
% Find numerical values of electric field (the s contains values of
% electric potential)
En = (s(2,:) - s(1,:))/hr
% Just check the integral of the charge (should match the analytical
% value)
Q = sum(En(1:end-1))*hz
% find value of the capacitance
C = Q/U
% This should produce the voltage U, as this represents the
% integral over r from r_a to r_b (Stokes Theorem)
sum(El)*hr
  4 Kommentare
suketu vaidya
suketu vaidya am 9 Jan. 2021
and s is my 2d boundry condition problem for The electric field in a coaxial cable it its 2d graph of

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Kathryn Akmal
Kathryn Akmal am 9 Jan. 2021
You can use the find() command to find the index of the x and y values you're interested in, and take that index of the array containing the electrical field values. Something like this:
xindex=find(0.56);
yindex=find(0.70);
EFieldValue=EField(xindex,yindex);

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by