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

FarField javítások

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