In my project,i want to find the period of a signal,so I want to determine the Max and the Min of the signal to find the time Max and the Min time value,and I will use this expression to find the period:T= timeMax - timeMin
In my project,i want to find the period of a signal,so I want to determine the Max and the Min of the signal to find the time Max and the Min time value,and I will use this expression to find the period:T= timeMax - timeMin
That expression will give you the wrong value. The period is the time between successive maximums of the signal or indeed successive minimums.
The other thing that what you have drawn is impossible to detect because any algorithm is going to only spot a local minimum. How can it possibly know that a lower minimum is comming along at any time in the future?
BUT that is only true for some signals. There are many signal shapes that this will not true for.