Using cwt with ASCII data

1 次查看(过去 30 天)
Katherine
Katherine 2011-6-20
I have a large number of ECG files sorted in ASCII format i.e. columns and rows. I import them into MATLAB no problem and do some minor reshaping and removing headers using a few lines of code.
I am wanting to use MATLAB to fine the ECG events and am currently trying to use the 'cwt' function to help me find the beats in each lead. I have been using a piece of code I found here as a guide but am unsure why I am getting the error message 'Underfined function or method 'cwt' for input arguments of type 'single''
I am a very new user to MATLAB so any help would be much appreciated.

回答(1 个)

Walter Roberson
Walter Roberson 2011-6-20
Either you do not have the wavelet toolbox (or do not have it licensed), or else you need to use double() on your data to pass it to cwt()

类别

Help CenterFile Exchange 中查找有关 Continuous Wavelet Transforms 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by