ip_02_05.m
Upload User: loeagle
Upload Date: 2013-03-02
Package Size: 1236k
Code Size: 0k
Development Platform:

Matlab

  1. % MATLAB script for Illustrative Problem 5, Chapter 2.
  2. echo on
  3. % first part
  4. Sx1=[ones(1,32)];
  5. Rx1=ifft(Sx1,32); 
  6. % second part
  7. Sx2=[ones(1,16),zeros(1,224),ones(1,16)];
  8. Rx2=ifft(Sx2,256);
  9. % plotting commands follow