Using cwt with ASCII data

1 view (last 30 days)
Katherine
Katherine on 20 Jun 2011
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.

Answers (1)

Walter Roberson
Walter Roberson on 20 Jun 2011
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()

Tags

Community Treasure Hunt

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

Start Hunting!