Aufgrund einer Wartung wird GitLab am 26.10. zwischen 8:00 und 9:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 26.10. between 8:00 and 9:00 am.

Commit 9f3e66ff authored by Markus Mueller-Trapet's avatar Markus Mueller-Trapet
Browse files

easier processing

parent 97524606
......@@ -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
......
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