FFT Examples with Matlab - PowerPoint PPT Presentation

1 / 5
About This Presentation
Title:

FFT Examples with Matlab

Description:

FFT Examples with Matlab – PowerPoint PPT presentation

Number of Views:247
Avg rating:3.0/5.0
Slides: 6
Provided by: Guof
Category:
Tags: fft | examples | fs1 | matlab

less

Transcript and Presenter's Notes

Title: FFT Examples with Matlab


1
FFT Examples with Matlab
  • Guofeng Deng

2
Matlab Program
  • X wavread('sound1.wav')
  • Fs 22050 sampling rate is 22050 Hz
  • N length(X)
  • if mod(N,2) 1
  • N N-1
  • end
  • X X(1N)
  • T N/Fs T is the complete sample length in
    seconds
  • fund 1/T the fundamental or lowest frequency
  • Y fft(X)
  • Pyy Y.conj(Y)/N
  • f fund01N/2-1
  • time 1/Fs1/FsT
  • raw data
  • figure(1)
  • plot(time,X)

3
Examples
4
Examples
5
Examples
Write a Comment
User Comments (0)
About PowerShow.com