1 / 43

Environmental Data Analysis with MatLab

Learn to analyze Power Spectral Density of time series data, practical applications, and theoretical concepts in MATLAB. Understand stationary properties and spectral analysis techniques.

joben
Download Presentation

Environmental Data Analysis with MatLab

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Environmental Data Analysis with MatLab Lecture 12: • Power Spectral Density

  2. SYLLABUS Lecture 01 Using MatLabLecture 02 Looking At DataLecture 03Probability and Measurement ErrorLecture 04 Multivariate DistributionsLecture 05Linear ModelsLecture 06 The Principle of Least SquaresLecture 07 Prior InformationLecture 08 Solving Generalized Least Squares ProblemsLecture 09 Fourier SeriesLecture 10 Complex Fourier SeriesLecture 11 Lessons Learned from the Fourier Transform Lecture 12 Power Spectral DensityLecture 13 Filter Theory Lecture 14 Applications of Filters Lecture 15 Factor Analysis Lecture 16 Orthogonal functions Lecture 17 Covariance and AutocorrelationLecture 18 Cross-correlationLecture 19 Smoothing, Correlation and SpectraLecture 20 Coherence; Tapering and Spectral Analysis Lecture 21 InterpolationLecture 22 Hypothesis testing Lecture 23 Hypothesis Testing continued; F-TestsLecture 24 Confidence Limits of Spectra, Bootstraps

  3. purpose of the lecture compute and understand Power Spectral Density of indefinitely-long time series

  4. Nov 27, 2000 ground vibrations at the Palisades NY seismographic station time, minutes Jan 4, 2011 time, minutes similar appearance of measurements separated by 10+ years apart

  5. stationary time series indefinitely long but statistical properties don’t vary with time

  6. assume that we are dealing with a fragment of an indefinitely long time series time, minutes time series, d duration, T length, N

  7. one quantity that might be stationary is …

  8. “Power” T 0

  9. Power T 0 mean-squared amplitude of time series

  10. How is power related to power spectral density ?

  11. write Fourier Series asd = Gmwere m are the Fourier coefficients

  12. now use

  13. now use coefficients of sines and cosines coefficients of complex exponentials equals 2/T Fourier Transform

  14. so, if we define the power spectral density of a stationary time series as the integral of the p.s.d. is the power in the time series

  15. units if time series d has units of u coefficients C also have units of u Fourier Transform has units of u×time • power spectral density has units of u2×time2/time • e.g. u2-s • or equivalently u2/Hz

  16. we will assume that thepower spectral densityis a stationary quantity

  17. when we measure the power spectral density of a finite-length time series,we are making an estimate of the power spectral density of the indefinitely long time seriesthe two are not the samebecause of statistical fluctuation

  18. finallywe will normally subtract out the mean of the time seriesso that power spectral densityrepresents fluctuations about the mean value

  19. Example 1Ground vibration at Palisades NY

  20. enlargement

  21. enlargement periods of a few seconds

  22. power spectral density

  23. power spectral density frequencies of a few tenths of a Hz periods of a few seconds

  24. cumulative power power in time series

  25. Example 2Neuse River Stream Flow

  26. Example 2Neuse River Stream Flow periodof 1 year

  27. power spectral density, s2(f) power spectra density s2(f), (cfs)2 per cycle/day frequency f, cycles/day

  28. power spectral density, s2(f) power spectra density s2(f), (cfs)2 per cycle/day frequency f, cycles/day period of 1 year

  29. Example 3Atmospheric CO2(after removing anthropogenic trend)

  30. enlargement

  31. enlargement periodof 1 year

  32. power spectral density frequency, cycles per year

  33. power spectral density 1 year period ½ year period frequency, cycles per year

  34. shallow side: 1 year and½ yearout of phase steep side: 1 year and½ yearin phase

  35. cumulative power power in time series

  36. Example 3:Tides 90 days of data

  37. enlargement 7 days of data

  38. enlargement periodof day½ 7 days of data

  39. power spectral density cumulative power power in time series

  40. power spectral density about ½ day period about 1 day period fortnighly • (2 wk) tide cumulative power power in time series

  41. MatLab dtilde= Dt*fft(d-mean(d)); dtilde = dtilde(1:Nf); psd = (2/T)*abs(dtilde).^2; Fourier Transform delete negative frequencies power spectral density

  42. MatLab pwr=df*cumsum(psd); Pf=df*sum(psd); Pt=sum(d.^2)/N; power as a function of frequency total power should be the same! total power

More Related