Sine wave change zero crossing and increase amplification

3 Ansichten (letzte 30 Tage)
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 Kommentare
Johannes Fischer
Johannes Fischer am 7 Sep. 2020
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 am 7 Sep. 2020
Please attach your data in a .mat file if you want people to try anything to help you.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Star Strider
Star Strider am 7 Sep. 2020
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 Kommentare
David Jones
David Jones am 10 Sep. 2020
Bearbeitet: David Jones am 10 Sep. 2020
Thank you for all your help
Star Strider
Star Strider am 10 Sep. 2020
As always, my pleasure!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by