Commit d2865caf authored by jonasstienen's avatar jonasstienen
Browse files

Merge branch 'master' of http://git.rwth-aachen.de/ita/toolbox

parents b73ca0a5 434ddaa3
......@@ -3585,7 +3585,7 @@ classdef itaRavenProject < handle
% calculate sound speed
c = calculateSoundSpeed(obj.getTemperature(), obj.getHumidity(), obj.getPressure());
for iRec = 1 : numel(edc)
for iRec = 1 : size(edc,2)
if ~isempty(edc{sourceID+1,iRec})
for iFreq = 1 : size(edc{sourceID+1,iRec}, 2)
% calculate source to receiver distance and arrival time of direct sound
......@@ -3666,7 +3666,7 @@ classdef itaRavenProject < handle
% calculate sound speed
c = calculateSoundSpeed(obj.getTemperature(), obj.getHumidity(), obj.getPressure());
for iRec = 1 : numel(edc)
for iRec = 1 : size(edc,2)
if ~isempty(edc{sourceID+1,iRec})
for iFreq = 1 : size(edc{sourceID+1,iRec}, 2)
% calculate source to receiver distance and arrival time of direct sound
......@@ -3808,7 +3808,7 @@ classdef itaRavenProject < handle
edc = {edc};
end
for iRec = 1 : numel(edc)
for iRec = 1 : size(edc,2)
% check if this receiver looks at the source
srcPos = obj.getSourcePosition(sourceID);
recPos = obj.getReceiverPosition(iRec-1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment