How to tell how smooth a signal oscillates?

조회 수: 1 (최근 30일)
Maximilian Valentin Schraysshuen
Hello,
I have a quite noisy signal from an aero dynamic experiment. I need to find out how smooth my signal oscillates or more precisely if my system skips an oscillation ever once in a while.
I have implemented a Butterworth filter which works quite well, nevertheless I struggle to quantify if the system skips oscillations.
My idea was to compute an average oscillation (the average alle oscillations to receive one average oscillation). And then compare each oscillation to the average and if the deviation is too large it should be marked.
Am I taking the right approach? Is there a function to with does this?
Here the system oscillates smoothly:
Here the system oscillates badly:
  댓글 수: 1
Mathieu NOE
Mathieu NOE 2021년 3월 17일
hello
my 2 cents suggestion ; either use findpeaks or even better, envelope and decide based on deviation of these if the signal is "steady" or "unsteady"

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

채택된 답변

Swetha Polemoni
Swetha Polemoni 2021년 3월 24일
Hi Maximilian Valentin Schraysshuen
You may find the following approach useful.
  1. Calculate the mean of the signal using "mean"
  2. Calculate the windowed mean of the signal using "movmean" . Size of window can be varied according to the signal.
  3. Now deviation of windowed mean with respect to mean can be used to determine if the oscillations are smooth or not.
Hope this helps
  댓글 수: 1
Maximilian Valentin Schraysshuen
Hello Swetha Polemoni,
thank you very much for your answer!
I have implemented it another way already, but will use yours as well as is has benefits over my idea.
Have a nice day

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Pulsed Waveforms에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by