Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
toolbox
Commits
9f36ac5a
Commit
9f36ac5a
authored
Dec 12, 2016
by
Marco Berzborn
Browse files
bugfix modal strength
parent
0e753a93
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/SphericalHarmonics/ita_sph_modal_strength.m
View file @
9f36ac5a
...
...
@@ -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
*
(
1
i
.^
(
n
-
1
))
*
(
1
.
/(
kVec
.*
uniqueRad
(
idxRad
))
.^
2
)
);
else
bn
=
diag
(
4
*
pi
*
1
i
.^
n
)
*
bn
;
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment