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
f8e4a9c6
Commit
f8e4a9c6
authored
Mar 31, 2017
by
hark
Browse files
bugfix ita_result2audio.m and problem with .pfp command on 2016b
please verify if .pfp fix is supported on older Matlab versions
parent
4832caf7
Changes
2
Hide whitespace changes
Inline
Side-by-side
kernel/ClassStuff/ita_result2audio.m
View file @
f8e4a9c6
...
...
@@ -110,7 +110,12 @@ input.data = interpData;
% some postprocessing to cancel out effects of extrapolation
if
isTime
(
input
)
input
=
ita_time_window
(
input
,[
1.1
*
processingLimits
(
1
)
0.95
*
processingLimits
(
1
)
0.8
*
processingLimits
(
2
)
0.95
*
processingLimits
(
2
)],
'time'
);
if
processingLimits
(
1
)
==
0
%only use fadeOut part of timeWindow
input
=
ita_time_window
(
input
,[
0.8
*
processingLimits
(
2
)
0.95
*
processingLimits
(
2
)],
'time'
);
else
input
=
ita_time_window
(
input
,[
1.1
*
processingLimits
(
1
)
0.95
*
processingLimits
(
1
)
0.8
*
processingLimits
(
2
)
0.95
*
processingLimits
(
2
)],
'time'
);
end
elseif
~
sArgs
.
no_filter
input
=
ita_filter_bandpass
(
input
,
'lower'
,
processingLimits
(
1
),
'upper'
,
processingLimits
(
2
),
'order'
,
20
,
'zerophase'
);
end
...
...
kernel/PlotRoutines/ita_plot_freq_phase.m
View file @
f8e4a9c6
...
...
@@ -118,8 +118,8 @@ setappdata(fgh,'AxisHandles',[axh1 axh2]);
setappdata
(
fgh
,
'ActiveAxis'
,
axh1
);
setappdata
(
fgh
,
'ita_domain'
,
'frequency and phase'
);
%% Make first axis current
axes
(
axh1
);
%
axes(axh1);
hbr - produce error on 2016b
set
(
fgh
,
'CurrentAxes'
,
axh1
)
%% Return the figure handle
if
nargout
varargout
{
1
}
=
fgh
;
...
...
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