Ninevah University College of Electronics Engineering Systems & Control Engineering Department SCE3201 Digital Signal Processing-I Lab
Ninevah University College of Electronics Engineering Systems & Control Engineering Department SCE3201 Digital Signal Processing-I Lab
Introduction
MATLAB stands for MATrix LABoratory. It is a technical computing environment for high
performance numeric computation and visualization. It integrates numerical analysis, matrix
computation, signal processing and graphics in an easy-to-use environment, where problems and
solutions are expressed just as they are written mathematically, without traditional programming.
MATLAB allows us to express the entire algorithm in a few dozen lines, to compute the solution
with great accuracy in a few minutes on a computer, and to readily manipulate a three-
dimensional display of the result in color.
MATLAB is an interactive system whose basic data element is a matrix that does not require
dimensioning. It enables us to solve many numerical problems in a fraction of the time that it
would take to write a program and execute in a language such as FORTRAN, BASIC, or C. It
also features a family of application specific solutions, called toolboxes. Areas in which
toolboxes are available include signal processing, image processing, control systems design,
dynamic systems simulation, systems identification, neural networks, wavelength
communication and others.
Let us study some special digital sequences that are widely used. We define and plot each of
them as follows:
1. Unit-impulse sequence (digital unit-impulse function):
3. Ramp sequence
4. Exponential sequence
5. Sinusoidal sequence
Procedures:
1. Write a MATLAB programs for the generation of unit impulse, unit step, ramp and
exponential sequences as in the figure below:
clc;
clear all;
close all;
stem(t,t);
ylabel('Amplitude');
xlabel('n');
title('ramp sequence');
Discussion