why NAN happend when i use another signal
显示 更早的评论
i am trying to detect S-wave in QRS complex and it works enough for me but i tryed for another ECG signal it dose not give me error buy the output of all procedure start from filtering to the end is NAn what is the wrong??

1 个评论
Image Analyst
2014-5-3
How can we know why your code gives NaN when you didn't attach your code or your data file. Please read this: http://www.mathworks.com/matlabcentral/answers/6200-tutorial-how-to-ask-a-question-on-answers-and-get-a-fast-answer
采纳的回答
更多回答(2 个)
Jan
2014-5-3
0 个投票
You can use the debugger to step through your code line by line to find out, in which operation the NaNs are produced. If you have specified the corresponding command and still have questions, you can post them again providing more information.
2 个评论
Hasan alomari
2014-5-3
Image Analyst
2014-5-3
Then please view this tutorial on the debugger: http://blogs.mathworks.com/videos/2012/07/03/debugging-in-matlab/
类别
在 帮助中心 和 File Exchange 中查找有关 Smoothing and Denoising 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!