How to find onset of a signal?

29 views (last 30 days)
Prajkta Kallurkar
Prajkta Kallurkar on 27 Feb 2020
Commented: Arlinda Gashi on 14 May 2021
I need to find onset of the signal in the attached figure. The onset locations are marked by red circles.
Thanks.

Answers (1)

Prabhan Purwar
Prabhan Purwar on 4 Mar 2020
Hi,
Try making use of findchangepts() function https://in.mathworks.com/help/signal/ref/findchangepts.html
Hope it helps!!
  2 Comments
Prajkta Kallurkar
Prajkta Kallurkar on 4 Mar 2020
Thanks. I used the gradient function and it worked.
Arlinda Gashi
Arlinda Gashi on 14 May 2021
@Prajkta Kallurkar, I am also trying to use gradient function to find onsets in a signal, but I do not see much of a change in the signal. Could you please give me more information how you did it?
Thanks!

Sign in to comment.

Categories

Find more on Signal Generation and Preprocessing 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!