findpeaks: Error using findpeaks (line 43) Input arguments must be 'double'.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi all,
I am recording a Blood Volume Pulse signal and willing to find the indexes of its local maxima. The data (Blood Volume Pulse signal) is a two column matrix, signal magnitude and the corresponding time value.
data_no = data(:,1);
Using findpeaks(data_no) I get the following error:
Error using findpeaks (line 43)
Input arguments must be 'double'.
I appreciate if anyone help me understanding this error!
Thanks,
0 comentarios
Respuesta aceptada
Shashank Prasanna
el 14 de En. de 2013
Editada: Shashank Prasanna
el 14 de En. de 2013
what is:
>> class data_no
make sure it is double
3 comentarios
Shashank Prasanna
el 14 de En. de 2013
Editada: Shashank Prasanna
el 14 de En. de 2013
you can just do:
d = double(data_no);
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!