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
48b6dc0e
Commit
48b6dc0e
authored
Apr 09, 2018
by
Markus Mueller-Trapet
Browse files
bugfix for units
parent
7dadfce6
Changes
1
Hide whitespace changes
Inline
Side-by-side
kernel/DSP/Edit/ita_convolve.m
View file @
48b6dc0e
...
...
@@ -72,11 +72,10 @@ if ~sArgs.overlap_add %signals have similar length, overlap-add makes no sense
else
% RSC - use overlap-add
ita_verbose_info
(
'ITA_CONVOLVE:Linear convolution using overlap-add.'
,
2
);
source_signal
.
timeData
=
fftfilt
(
double
(
filter_dat
.
timeData
),
double
(
source_signal
.
timeData
));
% deal with units
source_signal
.
channelUnits
(:)
=
{
ita_deal_units
(
filter_dat
.
channelUnits
{
1
},
source_signal
.
channelUnits
{
1
},
'*'
)};
end
%% deal with units
source_signal
.
channelUnits
(:)
=
{
ita_deal_units
(
filter_dat
.
channelUnits
{
1
},
source_signal
.
channelUnits
{
1
},
'*'
)};
%% Add history line
source_signal
=
ita_metainfo_rm_historyline
(
source_signal
,
'all'
);
source_signal
=
ita_metainfo_add_historyline
(
source_signal
,
'ita_convolve'
,
varargin
,
'withSubs'
);
...
...
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