How to find max value of a vector in a certain time interval?

조회 수: 3 (최근 30일)
Jan Ali
Jan Ali 2021년 5월 16일
댓글: Jan Ali 2021년 5월 16일
I want to find a max value in a spesific time span. For exp. I have a segment of a signal from 26 to 28 s.
Does any one know how to find max between 26.8 and 27.2 second?
Thanks in advance,

답변 (1개)

KSSV
KSSV 2021년 5월 16일
There are multiple ways to achieve this.
Method 1: Do interpolation for the time range get the respective values and use max.
Method2: Get the indices of both time stamps, extract the respective values using these indices and use max.
  댓글 수: 1
Jan Ali
Jan Ali 2021년 5월 16일
Thanks for the answer. Could you please explain in examples?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Large Files and Big Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by