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

2 visualizaciones (últimos 30 días)
Shraddha Joshi
Shraddha Joshi el 14 de Mzo. de 2016
Comentada: Seshankitha Paidakula el 3 de Sept. de 2020
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 comentarios
Meha Gadkari
Meha Gadkari el 16 de Sept. de 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.

Iniciar sesión para comentar.

Respuestas (1)

Geoff Hayes
Geoff Hayes el 14 de Mzo. de 2016
Editada: Geoff Hayes el 14 de Mzo. de 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 comentarios
Shraddha Joshi
Shraddha Joshi el 15 de Mzo. de 2016
OK Sir Thankyou so much I got the output signal
Seshankitha Paidakula
Seshankitha Paidakula el 3 de Sept. de 2020
Hi Shraddha Im facing the same issue can you please tell me how you got the Output signal?

Iniciar sesión para comentar.

Categorías

Más información sobre Downloads en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by