Skip to content
Snippets Groups Projects
Commit 2413f26a authored by frey.balazs96's avatar frey.balazs96 :eggplant:
Browse files

FarField javítások

parent dd383db6
No related branches found
No related tags found
No related merge requests found
...@@ -17,9 +17,10 @@ classdef FarField ...@@ -17,9 +17,10 @@ classdef FarField
c3 = c2*sin(theta(i)); c3 = c2*sin(theta(i));
for j = 1:nr for j = 1:nr
area = r(j) * c1; area = r(j) * c1;
c4 = c3*r(j);
ind = 2*nr-j+1; ind = 2*nr-j+1;
for k = 1:nfi for k = 1:nfi
field(i) = field(i) + histogram(ind)*exp(c3*r(j)*sin(fi(k)))*area; field(i) = field(i) + histogram(ind)*exp(c4*sin(fi(k)))*area;
end end
end end
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment