peterhcharlton / RRest

Algorithms to estimate respiratory rate from physiological signals
http://peterhcharlton.github.io/RRest/
Other
169 stars 60 forks source link

V3.0 testing with matlab2021 #16

Open preethikrishnan27 opened 3 years ago

preethikrishnan27 commented 3 years ago

Thank you for uploading your RR estimation code base. When I run mimicii on Matlab 2021, I get an error : Error using filtfilt Expected input to be finite.

Error in RRest (line 63) feval(up.al.key_components{key_comp_no}, up);

What other filter options can be used?

When I run without the filt option in up.al.options.extract_resp_sig

I get this error

Error using downsample (line 45) Expected X to be nonempty.

Error in FTS (line 43) data.filt.t = downsample(data.t, true_fs/downsample_freq);

Error in estimate_rr (line 65) temp_rr = feval(up.al.options.estimate_rr{option_no}, rel_data, wins, up);

Error in RRest (line 63) feval(up.al.key_components{key_comp_no}, up);