someone know how can i creat a zero crossing function for my code?

Hello everybody I am doing a project in ecg signal processing and I got in to a small problem I created a file which is doing a math manipulation over the ecg signal. In the middle of the code I wanted to find the exact place of the zero crossing of a signal called "pne" I have created, and I have no idea how to do it. Someone can help??

回答(1 个)

Do you want fZero?

1 个评论

i am not sure. I think that might be the solution but I get the next eror: "FUN must be a function, a valid string expression, or an inline function object." I guess I can't input a vectoras FUN which contains the zero crossing points I search for. This function might find the zero crossing points when you enter "sin" or some other known functions. I need to find them in a specific vector. Any suggestion?

此问题已关闭。

标签

提问:

2012-9-19

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by