Help me in finding mistake
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Explorer
am 30 Jan. 2016
Kommentiert: Explorer
am 31 Jan. 2016
I have made a function (having name preprocessing) and calling it by following command in Command Window.
preprocessing('C:\Users\Explorer\Documents\MATLAB\PhysioNet_Database\Malignant_Ventricular_Ectopy_Database\418m.mat')
But getting Error and here it is:
Error using upfirdn>validateinput (line 102)
The input signal X must be a double-precision vector.
Error in upfirdn (line 82)
[p,q] = validateinput(x,h,varargin);
Error in resample (line 119)
y = upfirdn(x,h,p,q);
Error in preprocessing (line 21)
r_nsr16265=resample(nsr16265,256,fs); % Resampling
By the way, if it asks for default sampling frequency, enter 250.
1 Kommentar
Walter Roberson
am 31 Jan. 2016
Well that's a broken website. :(
I have downloaded and attached the file so that no-one else needs to go through that... experience .
Akzeptierte Antwort
Walter Roberson
am 31 Jan. 2016
Bearbeitet: Walter Roberson
am 31 Jan. 2016
That routine does not accept file names.
filestruct = load('C:\Users\Explorer\Documents\MATLAB\PhysioNet_Database\Malignant_Ventricular_Ectopy_Database\418m.mat');
preprocessing(filestruct.x)
10 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Multirate Signal Processing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!