Where can I find this method?
Show older comments
I tried using the method "ecg". This is my error message, what I got. Undefined function 'ecg' for input arguments of type 'double'.
Now, I typed help ecg in the command window. This is what I got.
_ * *>> help ecg
ecg not found.
Use the Help browser search field to search the documentation, or type "help help" for help command options, such as help for methods.**_
What can I do to get rid of this problem? I tried it, to use it in my code.
1 Comment
Answers (1)
KSSV
on 15 Mar 2017
1 vote
7 Comments
Denny Muttathil
on 15 Mar 2017
KSSV
on 15 Mar 2017
ecg is there in MATLAB 2015 itself. It should be there in your pc too. Show the code you called it.
Link directly can be downloaded. Read the documentation in there.
KSSV
on 15 Mar 2017
@Jan Simon: When I type help ecg I get this: ecg Electrocardiogram (ecg) signal generator.
ecg(100) or some number giving some output.
Jan
on 15 Mar 2017
@KSSV: You are right, I find e.g. "wform = ecg(500);" in the help text of filtfilt. But I cannot find docs for this command online. Even Google cannot find something useful for "Matlab ecg". Strange. Where do you find this function: which ecg?
Ah, yes, thanks. Then this command is a part of the demos and therefore it is not documented in Matlab's online docs. This detail might solve the OP's problem:
Buy and install the signal processing toolbox, then this command appears in the demos.
I think this discussion might solve the question. +1
Categories
Find more on Applications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!