필터 지우기
필터 지우기

finding peaks in Simulink

조회 수: 4 (최근 30일)
satwick guturu
satwick guturu 2021년 3월 27일
답변: Rohit Pappu 2021년 3월 30일
How can i find peak vaues and their time stamps at which the peaks occur in SIMULINK ?

답변 (1개)

Rohit Pappu
Rohit Pappu 2021년 3월 30일
findpeaks accepts only vector data as it's input arguments. A possible workaround would be to use a Buffer block in between Simulink output and MATLAB Function input
Example:
The above example locates the peaks of a discrete sine wave. The Sine Wave block returns a scalar value while findpeaks expects a vector input. To fix this discrepancy, A buffer can be used to convert scalar value to vector values

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by