DSP

2 次查看(过去 30 天)
AYAH
AYAH 2012-2-8
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 .

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 DSP System Toolbox 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by