필터 지우기
필터 지우기

Signal Processing; Is there a way to concatenate codes for find peaks?

조회 수: 3 (최근 30일)
JET
JET 2021년 2월 22일
답변: Priyank Pandey 2022년 4월 1일
Im having some difficulty in understanding the syntax of codes I need for signal processing, also fairly new to matlab so any extra details or explanations will be greatly appreciated. If I want them to be above a threshold and also spaced at a certain distance without two lines of code? I am trying to build two matrices; one for peaks that cross the threshold and also for those that do not.
%contstruct matrices%
[PKS,LOCS]=findpeaks(wave,'MinPeakHeight',threshold;'MinPeakDistance';0.002)
[PKS_2,LOCS_2]=findpeaks(wave)
  댓글 수: 1
Mathieu NOE
Mathieu NOE 2021년 2월 23일
hello
I am not sure to understand if your are looking for peaks or trying to find out crossing point between a signal and a threshold value ? (see example attached)

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

답변 (1개)

Priyank Pandey
Priyank Pandey 2022년 4월 1일
Hi,
You can reffer to following links to have more understanding on find peaks.

카테고리

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