Commit cacce6ed authored by Jan-Gerrit Richter's avatar Jan-Gerrit Richter

bugfix: changed documentation to match code in ita_extend_dat

parent 1ef3ac10
...@@ -7,8 +7,8 @@ function [ varargout ] = ita_extend_dat( varargin ) ...@@ -7,8 +7,8 @@ function [ varargout ] = ita_extend_dat( varargin )
% Syntax: ita_extend_dat( dat, nSamples, Options) % Syntax: ita_extend_dat( dat, nSamples, Options)
% Syntax: [dat1, dat2] = ita_extend_dat( dat1, dat2 ) % Syntax: [dat1, dat2] = ita_extend_dat( dat1, dat2 )
% %
% FFTdegree is up to a value of 30 % FFTdegree is up to a value of (including) 35
% nSamples is a value greater than 30 % nSamples is a value greater than 35
% %
% Options (default): % Options (default):
% 'forcesamples' (false): Interpret second arguments as samples, even if lower than 35 % 'forcesamples' (false): Interpret second arguments as samples, even if lower than 35
...@@ -59,7 +59,7 @@ if make_same_length ...@@ -59,7 +59,7 @@ if make_same_length
asData2 = ita_metainfo_rm_historyline(asData2); asData2 = ita_metainfo_rm_historyline(asData2);
else else
if sArgs.symmetric %pdi added if sArgs.symmetric %pdi added
if new_number_samples < 35 if new_number_samples <= 35
new_number_samples = round(2.^new_number_samples/2)*2; new_number_samples = round(2.^new_number_samples/2)*2;
end end
old_number_samples = asData.nSamples; old_number_samples = asData.nSamples;
......
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