We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ab5273 commit e6623f0Copy full SHA for e6623f0
load_datx.m
@@ -106,7 +106,7 @@
106
compression, Data.meta.axes );
107
108
% Check number of data points
109
- [signals, Data.meta] = check_length(signals, Data.meta, filePath);
+ [signals, Data.meta] = correct_length(signals, Data.meta, filePath);
110
111
% Remove invalid rows
112
signals = clean(signals, 254);
@@ -263,7 +263,7 @@
263
end
264
265
266
-function [signals, meta] = check_length(signals, meta, filePath)
+function [signals, meta] = correct_length(signals, meta, filePath)
267
nsamples = length(signals);
268
nexpected = seconds(meta.duration) * double(meta.hz);
269
diffSamples = nsamples - nexpected;
0 commit comments