Where can I find the C version of MATLAB functions like filter, interp, filtfilt ?

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 件のコメント

Walter Roberson
Walter Roberson 2018 年 4 月 4 日
Which interp method do you need, and how many dimensions?
ROWSHON ARA MUNNY
ROWSHON ARA MUNNY 2018 年 4 月 4 日
Linear interpolation of 1 D function.
Walter Roberson
Walter Roberson 2018 年 4 月 4 日
Note: you can be a bit more efficient if you use a binary search to find the correct segment.

サインインしてコメントする。

回答 (2 件)

Abhishek Ballaney
Abhishek Ballaney 2018 年 4 月 6 日

0 投票

Use coder products to generate C code

2 件のコメント

Walter Roberson
Walter Roberson 2018 年 4 月 6 日
The mentioned routines are not (fully?) supported by MATLAB Coder.
ROWSHON ARA MUNNY
ROWSHON ARA MUNNY 2018 年 4 月 7 日
Yes, Walter is correct, the built-in MATLAB function is not changeable by the coder.

サインインしてコメントする。

Image Analyst
Image Analyst 2018 年 4 月 6 日

0 投票

You can search OpenCV for functions that do similar things. It's open source image processing code.

カテゴリ

質問済み:

2018 年 4 月 4 日

コメント済み:

2018 年 4 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by