DSP
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
hello everybody how can I find the time at which the maximum value of the signal happen, if I have signal of 2D ,one is the time and the other is the amplitude .
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 8 Feb. 2012
[maxval, maxidx] = max(YourSignal(:,2)); %assuming 2nd col is ampl
time_at_max = YourSignal(maxidx,1); %assuming 1st col is time
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu DSP System 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!