Spectrum Analysis
Spectrum Analysis
Spectrum Analysis
Analogy
Time domain
Space domain
Time t (second)
Distance x (meter)
Frequency f (cycle/s)
Wavenumber k (cycle/meter)
Fourier Transform
Fourier analysis, a methodology that maps functions of space (or time) into the functions of
wavenumber (or frequency).
The fourier transform is, in general, a complex function with real and imaginary parts, that is,
It also can be written as
Where
and
The functions , , and ln are called the amplitude, phase spectrum, and power-density
spectrum respectively
is called the power-density spectrum, and is the slope of linear equation above.
Finally, we have
Matlab code
function DGRAV
clf
clc;
clear all;
CBA=xlsread('data.xlsx');
x=CBA(:,1);
y=CBA(:,2);
dx=100; %interval sampling
ks=1/dx; % sampling wavenumber
xi=min(x):dx:max(x);
yi=spline(x,y,xi);