Commit fe5e7431 authored by Marco Berzborn's avatar Marco Berzborn
Browse files

bugfix modal strength for loudspeaker arrays

no longer using definition on the surface for compatibility with
durectivity measurement.
parent 8820edca
......@@ -98,7 +98,7 @@ for idxRad = 1:numel(uniqueRad)
end
case {'loudspeaker','ls'}
if strcmp(type,'rigid') && isempty(sArgs.scatterer)
bn = diag(-1i.^n*Z_air)*bn.*ita_sph_besselh(n,sArgs.hankelKind,sArgs.dist*kVec);
bn = diag((-1i) * (-1)^sArgs.hankelKind * Z_air)*bn.*ita_sph_besselh(n,sArgs.hankelKind,sArgs.dist*kVec);
else
ita_verbose_info('This design type makes no sense for a loudspeaker array.',0);
varargout{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