I'm a beginner to spectral analysis and MATLAB. I'm asked to calculate auto spectral density and cross spectral density of a time series values saved in excel.
I'll explain the data that I have in excel. First column corresponds to time steps, second column is water elevation (for which auto spectral density (Sxx)) and third column is responses (for which cross spectral density(Sxy) with water elevation). The time step is 0.0125.
Data starts from 0 s to 3600 s.
I tried using periodogram, however i'm confused with the understanding of it.
Could someone help me and explain me, how to get Sxx and Sxy, with MATLAB inbuilt functions and without inbuilt functions?
Please give reference equations that is used.
Any help is highly appreciated.