How can I debug the error for generation of ECG Signals?
1 view (last 30 days)
Show older comments
I tried executing the code which is attached below. It was downloaded from Mathworks.com. And the error seeen was:
Undefined function 'p_wav' for input arguments of type 'double'.
Error in complete (line 103)
pwav=p_wav(x,a_pwav,d_pwav,t_pwav,li);
2 Comments
Meha Gadkari
on 16 Sep 2016
Can anyone please explain me what does X= 0.01:0.01:2;and li=30/72 meant in coding of R.Karthik sir? Its very urgent.I am new to MAT LAB.
Geoff Hayes
on 18 Sep 2016
Answers (1)
Geoff Hayes
on 14 Mar 2016
Edited: Geoff Hayes
on 14 Mar 2016
Shraddha - you need to download all of the files from Karthik Raviprakash's submission to the File Exchange. See the list of files from ECG simulation using MATLAB which includes the missing p_wav function that you require to avoid the above error. Just download the zip file, unpack it, and you should be able to execute the complete function.
4 Comments
Seshankitha Paidakula
on 3 Sep 2020
Hi Shraddha Im facing the same issue can you please tell me how you got the Output signal?
See Also
Categories
Find more on Waveform Generation 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!