Discrete Fourier transform of Time series

1 view (last 30 days)
Osman Yakubu
Osman Yakubu on 30 Jan 2019
Answered: Star Strider on 30 Jan 2019
I have data of electricity consumption by date, I need a matlab code;
  1. to convert the data to frequencies
  2. to use low pass filter to get the low frequencies based on a frequency cut off.
Thanks

Answers (1)

Star Strider
Star Strider on 30 Jan 2019
See the documentation on fft (link), and the documentation on lowpass (link). (The lowpass function was introduced in R2018a.)

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!