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
9f3e66ff
Commit
9f3e66ff
authored
Dec 11, 2017
by
Markus Mueller-Trapet
Browse files
easier processing
parent
97524606
Changes
1
Hide whitespace changes
Inline
Side-by-side
kernel/DSP/Analysis/ita_spk2frequencybands.m
View file @
9f3e66ff
...
...
@@ -96,10 +96,9 @@ if strcmp(mode,'filter') %mli version
end
% sum the squared values
band_values
=
zeros
(
numel
(
fmExact
),
input
.
nChannels
);
for
idxch
=
1
:
numel
(
fmExact
)
% don't be confused: sqrt will be extracted at the end!
band_values
(
idxch
,:)
=
sum
(
abs
(
squeeze
(
result
.
freq
(:,
idxch
,:)))
.^
exponent
);
band_values
=
squeeze
(
sum
(
abs
(
result
.
freq
)
.^
exponent
,
1
));
if
input
.
nChannels
==
1
band_values
=
band_values
(:);
end
% FFT Mode
...
...
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