findpeaks: Error using findpeaks (line 43) Input arguments must be 'double'.
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Shashank Prasanna
2013-1-14
编辑:Shashank Prasanna
2013-1-14
what is:
>> class data_no
make sure it is double
3 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!