Skip to content
Snippets Groups Projects
Commit 9f36ac5a authored by Marco Berzborn's avatar Marco Berzborn
Browse files

bugfix modal strength

parent 0e753a93
Branches
Tags v2.9.3
No related merge requests found
......@@ -90,7 +90,7 @@ for idxRad = 1:numel(uniqueRad)
switch sArgs.transducer
case {'microphone','mic'}
if strcmp(type,'rigid') && isempty(sArgs.scatterer)
bn = bn*diag(4*pi./(kVec.*uniqueRad(idxRad)));
bn = bn.*(4*pi*(1i.^(n-1))*(1./(kVec.*uniqueRad(idxRad)).^2));
else
bn = diag(4*pi*1i.^n)*bn;
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment