How can I debug the error for generation of ECG Signals?

1 次查看(过去 30 天)
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);

回答(1 个)

Geoff Hayes
Geoff Hayes 2016-3-14
编辑:Geoff Hayes 2016-3-14
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 个评论
Seshankitha Paidakula
Hi Shraddha Im facing the same issue can you please tell me how you got the Output signal?

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by