필터 지우기
필터 지우기

DSP

조회 수: 1 (최근 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