8
Fourier Transform: Synthesis A single sine wave A single sine wave with twice the frequency and half the amplitude of the first

Fourier Transform: Synthesis

  • Upload
    cissy

  • View
    50

  • Download
    0

Embed Size (px)

DESCRIPTION

Fourier Transform: Synthesis. Fourier Transform. Y = fft(y,512); Pyy = Y.* conj(Y) / 512; f = 1000*(0:256)/512; plot(f,Pyy(1:257)) title('Frequency content of y') xlabel('frequency (Hz)'). t = 0:0.001:0.6; x = sin(2*pi*50*t)+sin(2*pi*120*t); y = x + 2*randn(size(t)); - PowerPoint PPT Presentation

Citation preview

Page 1: Fourier Transform: Synthesis

Fourier Transform: Synthesis

A single sine wave

A single sine wave with twice the frequency and half the amplitude of the first

                                                                       

The sum of the first and second sine waves.  

Page 2: Fourier Transform: Synthesis

Fourier Transformt = 0:0.001:0.6;

x = sin(2*pi*50*t)+sin(2*pi*120*t);

y = x + 2*randn(size(t));

plot(1000*t(1:50),y(1:50))

title('Signal Corrupted with Zero-Mean Random Noise')

xlabel('time (milliseconds)')

Y = fft(y,512);

Pyy = Y.* conj(Y) / 512;

f = 1000*(0:256)/512;

plot(f,Pyy(1:257))

title('Frequency content of y')

xlabel('frequency (Hz)')

example from Matlab documentation

fft

Page 3: Fourier Transform: Synthesis

Fourier Transform

1/f^1, “pink” noise versus 1/f^0 “white” noise

Page 4: Fourier Transform: Synthesis

Fourier Transform

Neural oscillations are patterened, relate to each other,

**but NOT by an integer ratio**

Page 5: Fourier Transform: Synthesis

Fourier Transform

• Power at some frequencies depends on behavioral state.

(note: here, power is whitened)

Page 6: Fourier Transform: Synthesis

Fourier Transform

Deviations from 1/f in time are significant…see self-criticality

Page 7: Fourier Transform: Synthesis

Fast Fourier Transformt = 0:0.001:0.6;

x = sin(2*pi*50*t)+sin(2*pi*120*t);

y = x + 2*randn(size(t));

plot(1000*t(1:50),y(1:50))

title('Signal Corrupted with Zero-Mean Random Noise')

xlabel('time (milliseconds)')

Y = fft(y,512);

Pyy = Y.* conj(Y) / 512;

f = 1000*(0:256)/512;

plot(f,Pyy(1:257))

title('Frequency content of y')

xlabel('frequency (Hz)')

What is a Spectrogram?

example from Matlab documentation

fft

Page 8: Fourier Transform: Synthesis

Power Spectra• Example of fast-Fourier

with small temporal windows over long behavioural epochs (p. 106)

• Example of Fourier averaged over 1s time window (plot on left) and smoothed using smaller, overlapping windows to reveal dynamics(main plot)

fixation period face on