Code covered by the BSD License  

Highlights from
MatLab Solutions: "Introduction to Digital Signal Processing: A Computer Laboratory Textbook".

image thumbnail

MatLab Solutions: "Introduction to Digital Signal Processing: A Computer Laboratory Textbook".

by

 

29 Oct 2012 (Updated )

These files are the MatLab solutions of exercises contained in the above DSP lab textbook.

test_ifft241.m
% Test custom function: ifft241.m
clc; clear; close all;

N = 111;
x = randn(1,N); y = randn(1,N);

X = fft(x); Y = fft(y);

[x1 y1] = ifft241(X,Y);

figure;
subplot(2,1,1);
stem(x);
hold on;
stem(x1,'.');
title('x[n]');
grid;

subplot(2,1,2);
stem(y,'r');
hold on;
stem(y1,'r.');
title('y[n]');
grid;

Contact us