필터 지우기
필터 지우기

I have to get the x values for peaks occuring in my plot? What will be the code for that?

조회 수: 2 (최근 30일)
The following is my code:
a = load('ra1.dat');
x = a(:,1);
y = a(:,2);
y_mov_average = filter(ones(1,10)/10,1,y);
plot(x,y);
dy = diff(y)./diff(x);

채택된 답변

Massimo Zanetti
Massimo Zanetti 2016년 9월 29일

추가 답변 (0개)

카테고리

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