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

3 visualizaciones (últimos 30 días)
Jan Ali
Jan Ali el 16 de Mayo de 2021
Comentada: Jan Ali el 16 de Mayo de 2021
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,

Respuestas (1)

KSSV
KSSV el 16 de Mayo de 2021
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.

Categorías

Más información sobre Logical en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by