DSP

2 vues (au cours des 30 derniers jours)
AYAH
AYAH le 8 Fév 2012
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 .

Réponse acceptée

Walter Roberson
Walter Roberson le 8 Fév 2012
[maxval, maxidx] = max(YourSignal(:,2)); %assuming 2nd col is ampl
time_at_max = YourSignal(maxidx,1); %assuming 1st col is time

Plus de réponses (0)

Catégories

En savoir plus sur DSP System Toolbox dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by