Sine wave change zero crossing and increase amplification

조회 수: 2 (최근 30일)
David Jones
David Jones 2020년 9월 7일
댓글: Star Strider 2020년 9월 10일
Hi
I have attached a picture of a sine wave, can it be modified ie all centred around zero, all peaks and troughs the same size?
Any help would be appreciated.
David
  댓글 수: 2
Johannes Fischer
Johannes Fischer 2020년 9월 7일
What exactly do you want to extract from the data, after you have manipulated as you describe? Have you considered a Fourier analysis of the data?
Image Analyst
Image Analyst 2020년 9월 7일
Please attach your data in a .mat file if you want people to try anything to help you.

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

채택된 답변

Star Strider
Star Strider 2020년 9월 7일
First, use the fft function to do a Fourier transform to see what the signal frequency components are.
After that, it should be straightforward to design a highpass filter to eliminate both the D-C offset and baseline drift, so the result will be close to what you want.
  댓글 수: 7
David Jones
David Jones 2020년 9월 10일
편집: David Jones 2020년 9월 10일
Thank you for all your help
Star Strider
Star Strider 2020년 9월 10일
As always, my pleasure!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by