Effacer les filtres
Effacer les filtres

Sine wave change zero crossing and increase amplification

2 vues (au cours des 30 derniers jours)
David Jones
David Jones le 7 Sep 2020
Commenté : Star Strider le 10 Sep 2020
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 commentaires
Johannes Fischer
Johannes Fischer le 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 le 7 Sep 2020
Please attach your data in a .mat file if you want people to try anything to help you.

Connectez-vous pour commenter.

Réponse acceptée

Star Strider
Star Strider le 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 commentaires
David Jones
David Jones le 10 Sep 2020
Modifié(e) : David Jones le 10 Sep 2020
Thank you for all your help
Star Strider
Star Strider le 10 Sep 2020
As always, my pleasure!

Connectez-vous pour commenter.

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by