find X of corresponding local minima
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Sagar Dhage
am 8 Jul. 2014
Kommentiert: Sagar Dhage
am 8 Jul. 2014
I have Fx values (ie Y) and corresponding T values (X). To findout the local minima, i have used following prog. [Maxima,MaxIdx] = findpeaks(Fx); FxInv = 1.01*max(Fx) - Fx; [c,MinIdx] = findpeaks(FxInv); Minima = Fx(MinIdx); a= Minima(Minima >100); % further find out values of peak of Fx more than 100.
How I can find T values(X), corresponding to a? i tried b=T(a) but it doesn't work
0 Kommentare
Akzeptierte Antwort
Jos (10584)
am 8 Jul. 2014
Finding minima of a signal X is the same as finding the maxima of the signal -X
Weitere Antworten (1)
Azzi Abdelmalek
am 8 Jul. 2014
You can use
[a,idx]=findpeaks(Fx,'MINPEAKHEIGHT',100)
b=T(idx)
Siehe auch
Kategorien
Mehr zu Database Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!