can anyone help me in finding out the location of zero crossing point of an signal whose peak is determined

1 回表示 (過去 30 日間)
the signal is only in the positive half so zero crossing point is also the starting point for that cycle

回答 (1 件)

Carlos
Carlos 2013 年 3 月 7 日
Hi,if you have a signal like this
c =
Columns 1 through 15
0 1 2 3 4 5 6 7 8 9 10 0 1 2 3
Columns 16 through 22
4 5 6 7 8 9 10
using find you can find the indices where your vector(representing the signal's values) where the value is zero.
>> find(c==0)
ans =
1 12

カテゴリ

Help Center および File ExchangeDescriptive Statistics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by