Where can I find the C version of MATLAB functions like filter, interp, filtfilt ?
Show older comments
I am working on ECG signal QRS detection in MSP430F5438A. I am implementing the Pan- Tomkins algorithm. Here I found a MATLAB version of it as well: https://www.mathworks.com/matlabcentral/fileexchange/45840-complete-pan-tompkins-implementation-ecg-qrs-detector. I need to implement the algorithm in my embedded system. So, C version of the functions used here will be helpful for me to proceed. It would be great if anyone can help me with that.
Thanks.
3 Comments
Walter Roberson
on 4 Apr 2018
Which interp method do you need, and how many dimensions?
ROWSHON ARA MUNNY
on 4 Apr 2018
Walter Roberson
on 4 Apr 2018
Note: you can be a bit more efficient if you use a binary search to find the correct segment.
Answers (2)
Abhishek Ballaney
on 6 Apr 2018
0 votes
Use coder products to generate C code
2 Comments
Walter Roberson
on 6 Apr 2018
The mentioned routines are not (fully?) supported by MATLAB Coder.
ROWSHON ARA MUNNY
on 7 Apr 2018
Image Analyst
on 6 Apr 2018
0 votes
Categories
Find more on Multirate Signal Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!