Skip to content
Snippets Groups Projects
Commit 6e39babd authored by lmaresz's avatar lmaresz
Browse files

Antenna and Trace minor fixes

parent 92265c42
Branches
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ classdef Antenna
end
end
function [rays, complex_amplitudes] = generate_rays(obj, phi)
function [rays, complex_amplitudes] = generateRays(obj, phi)
rays(size(phi, 2)) = Ray;
for k = 1:size(phi, 2)
rays(k) = Ray(obj.position, [cos(phi(k)), sin(phi(k))]);
......
......@@ -3,7 +3,7 @@ classdef Trace < handle
properties
id;
wavelength;
rays Ray = [];
rays Ray;
length = +inf;
init_phase = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment