Spectrum in the freqency domiain

2 views (last 30 days)
M
M on 2 Jul 2022
Answered: Image Analyst on 2 Jul 2022
I have data measured by an accelerometer (Fs=50 Hz) and I want:
1- detailed code to see the spectrum of the data in the frequency domain
2- filter the noise from the spectrum

Answers (1)

Image Analyst
Image Analyst on 2 Jul 2022
Have you checked out examples and functions in the Signal Processing Toolbox, or spectrogram,fft,pwelch?
Broadband noise in the spectrum will be difficult to separate from the true signal unless you know something about each, like the signal is known to occur only at low frequencies, or in a certain narrow spectral range or something like that. Or else you just want to erase all high frequencies regardless of whether they're noise or signal.
Other kinds of noise, like interference from power lines, may occur as spikes in the spectrum, like precisely at 60 Hz or 50 Hz. Those can be detected and erased.

Community Treasure Hunt

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

Start Hunting!