9 views

Uploaded by luis rivera

Digital signal processing laboratory

- Teaching Complex Numbers
- Chapter 4
- complexnumbers student
- Cmplx Numbers & Eular Formula
- Lab#07 Introduction to PSIM
- lessonplan
- phpOXeu0Y
- a-level-l3-further-mathematics-specification.pdf
- Chapter 4.ppt
- lesson plan linear and exponential functions
- Matlabs - Markov, Qr Ls, Shm 1, 2, Sir
- 1817_05Basic Math for process control
- p247 Penney
- 954 Mathematics T [PPU] Semester 1 Topics
- bridge math 2019.docx
- Physics of Light and Optics
- 05976388
- M337_2009
- Tips and Tricks for Control Engineering
- eg.pdf

You are on page 1of 7

Assignment 1

by

Student Name

Student ID

for

Prof. Vidya Manian

Department of Electrical and Computer Engineering

Universidad de Puerto Rico en Mayagez

manian@ece.uprm.edu

Date of Submission

Due Date: October 2 2010 before 11:59PM

Introduccin:

This work introduces students to the basics of signal processing. Each student should do

the example and do the work individually.

Este documento debe ser entregado con las siguientes modificaciones e indicaciones:

1. Send copy of the document via email.

2. Write name, student ID number and date of submission in first page.

3. Modify each program as indicated.

4. Substitute the graphics with the ones you generated using the modified programs.

5. Show mathematical development (if any) of the results you have presented.

Modify the following program in MATLAB for generating the signal, [n], n Z 32 ,

which is an unit impulse and substitute the following plot with the plot you obtained from

the modified program. Note that the plot should start from index 0 and terminate in index

31.

% Program P1

% Generation of a Unit Sample Sequence

clf;

% Generate a vector from -10 to 20

n = -10:20;

% Generate the unit sample sequence

u = [zeros(1,10) 1 zeros(1,20)];

% Plot the unit sample sequence

stem(n,u);

xlabel('Time index n');ylabel('Amplitude');

title('Unit Sample Sequence');

axis([-10 20 0 1.2]);

Unit Sample Sequence

1.2

1

Amplitude

0.8

0.6

0.4

0.2

0

-10

-5

5

Time index n

10

15

20

2

Modify the following program to plot the signal x[ n] A n4 e j 32 (2) n , n Z , which is the

32

product of two signals: one signal is complex periodic, with fundamental period of 8 ,

atenuated by a real exponential signal, with variable parameter 1 A 4 . Each student

should select a unique value of 1 A 4 and substitute the following plot with the plot

2

obtained from the modified program. Note that the signal x[n] A n4 e j 32 (2) n , n Z is

32

complex and plot its real and imaginary part.

% Program P2

% Generation of a complex exponential sequence

clf;

c = -(1/12)+(pi/6)*i;

K = 2;

n = 0:40;

x = K*exp(c*n);

subplot(2,1,1);

stem(n,real(x));

xlabel('Time index n');ylabel('Amplitude');

title('Real part');

subplot(2,1,2);

stem(n,imag(x));

xlabel('Time index n');ylabel('Amplitude');

title('Imaginary part');

Real part

Amplitude

1

0

-1

-2

10

15

10

15

Amplitude

20

25

Time index n

Imaginary part

30

35

40

30

35

40

1

0

-1

20

Time index n

25

2

Modify the following program to plot the signal x[n] e 1 36 (0.8) n , n Z , which is real

36

and exponential. Note that the signal decays over time.

% Program P3

% Generation of a real exponential sequence

clf;

n = 0:35; a = 1.2; K = 0.2;

x = exp(-(2*pi/36)*0.8*n);

stem(n,x);

xlabel('Time index n');ylabel('Amplitude');

120

100

Amplitude

80

60

40

20

0

10

15

20

Time index n

25

30

35

Modify the following program to plot the signal x[n] 1.5cos 2 ( 322 )n , n Z 32 , which

is a sinuoid, with fundamental period 16, and substitute the following plot with the plot

obtained from the modified program. The resultant plot should have 32 values only,

indexed uniformly, in unit increments in the x-axis and has 0 as the index of origin.

% Program P4

% Generation of a sinusoidal sequence

n = 0:40;

f = 0.1;

phase = 0;

A = 1.5;

arg = 2*pi*f*n - phase;

x = A*cos(arg);

clf;

% Clear old graph

stem(n,x);

% Plot the generated sequence

axis([0 40 -2 2]);

grid;

title('Sinusoidal Sequence');

xlabel('Time index n');

ylabel('Amplitude');

axis;

Sinusoidal Sequence

2

1.5

Amplitude

1

0.5

0

-0.5

-1

-1.5

-2

10

15

20

Time index n

25

30

35

40

Problem No. P4: Sinusoidal discrete sequence - Exercise M2.3 (from textbook page

115)

- Teaching Complex NumbersUploaded byalphazooks
- Chapter 4Uploaded byKrishna Kumar Alagar
- complexnumbers studentUploaded byapi-356394827
- Cmplx Numbers & Eular FormulaUploaded by322399mk7086
- Lab#07 Introduction to PSIMUploaded bysyedshery
- lessonplanUploaded byapi-353366204
- phpOXeu0YUploaded byContinuing Education at the University of Vermont
- a-level-l3-further-mathematics-specification.pdfUploaded byandrew_cheung_16
- Chapter 4.pptUploaded byKrishna Kumar Alagar
- lesson plan linear and exponential functionsUploaded byapi-246371537
- Matlabs - Markov, Qr Ls, Shm 1, 2, SirUploaded byOliver He
- 1817_05Basic Math for process controlUploaded byDrRat P Ratanamalaya
- p247 PenneyUploaded byDebajyoti Datta
- 954 Mathematics T [PPU] Semester 1 TopicsUploaded byJosh, LRT
- bridge math 2019.docxUploaded bySMRUTI RANJAN PARIDA
- Physics of Light and OpticsUploaded byMehreen Sultana
- 05976388Uploaded byanjan_debnath
- M337_2009Uploaded bypigcowdog
- Tips and Tricks for Control EngineeringUploaded byNazarRozkvas
- eg.pdfUploaded byBensingh Dhas
- fourier transformUploaded bypreethamism
- Class 11 Cbse Maths Sample Paper Model 2Uploaded bySunaina Rawat
- Ccp Lab SyllabusUploaded byMrjayanthi
- Complexe i GsUploaded bymido_u3
- 2008 Acjc Prelims Ma h2 p1 QpUploaded byjaviel123
- Math ThesisUploaded byBinodBasnet
- lec3Uploaded bySrikant Chityala
- Index SE A225-A236Uploaded bysinghson
- AC Circuits 1004121Uploaded bySa'ad Abd Ar Rafie
- An Introduction to Multivariable ControlUploaded byherrJezni

- Key of happiness.pptxUploaded byluis rivera
- Key of lifeUploaded byluis rivera
- Key of Happiness is the Thruth of the Other WorldUploaded byluis rivera
- Intructor Sheet INEL5605Uploaded byluis rivera
- Nada de Lo Que ImportaUploaded byluis rivera
- Prontuario__INEL5605Uploaded byluis rivera
- Nada de Lo Que Importa 2Uploaded byluis rivera
- Key of happiness is the thruth of the other world.pptxUploaded byluis rivera
- Syllabus Applied Differential EquationsUploaded byluis rivera
- Constitución De Puerto RicoUploaded byGiovanni Figueroa Rodriguez
- PhaseDiagramTest SampleUploaded byluis rivera
- DspUploaded byluis rivera
- El Libro de Sexo 1Uploaded byluis rivera
- DisponibilidadUploaded byluis rivera
- DSP_Lab1Uploaded byluis rivera

- thyrvalv (1)Uploaded byagip77
- Geophysical Signals and Data ProcessingUploaded byvelkus2013
- 1-s2.0-S1364032116002483-mainUploaded by楊康
- Coolnomix Ac 01 Sales BrochureUploaded byTrisha Matthews
- questionsUploaded byAnonymous QM0NLqZO
- Steel Work SectionUploaded bybijukoottala
- AERMOD Implementation Guide - March 19 2009Uploaded byfranny73p
- ANSI ASABE S296.5 DEC2003 (R2009)Uploaded byStephan
- LRFD-BASED ANALYSIS AND DESIGN OF BEARINGS IN BRIDGES 9-24-2010 compressed.pdfUploaded byFrancis Domingo
- Ballard D., Computer Vision (2nd Ed.)Uploaded byslavo2010
- Performance Eval of VirtualizatinUploaded byAnkush
- MATH 11 2ND DEPEX (2)Uploaded byjohn smith
- Health Care HighriseUploaded byAshwin Nayanar
- A Flexible Software for Tracking of Markers Used in HumanUploaded byJuan Diego Pulgarín-Giraldo
- Triaxial Testing of Weak Rocks Including the Use of Triaxial Extension Tests_Peter J. MillarUploaded byShakil Iqbal
- IPP60R385CP_rev2.2Uploaded byd613961
- Honeywell Vista 10P Install GuideUploaded byAlarm Grid Home Security and Alarm Monitoring
- LM2576hvUploaded bybi31415
- 8188 39051 IC Engines NotesUploaded byవిష్ణువర్ధన్రెడ్డి
- ON-BOARD SATELLITE IMAGE COMPRESSION USING THE FOURIER TRANSFORM AND HUFFMAN CODINGUploaded byijcsitce1
- DSP Ed 1 Corrections-1st and 2nd PrintingsUploaded byjitu
- 07_Production Planning and Scheduling of Parallel Continuous Processes - Kopanos.pdfUploaded byAzat Suleimenov
- Journal Brg Vib & AnalysisUploaded bybhupendra singh15
- 37163893-1c1d-44b9-ac25-3c467ed44cbfUploaded byziaddd
- FM+306Uploaded byErcille Mae Oraiz Pacamo
- Sizing DuctsUploaded byks aks
- Fiber Renforcewd Shotcrete Guidline - 2002Uploaded byperumalbalji
- Conrete Mix Design ACI and JSCE example.(20+33 Mpa)Uploaded bynirmaljoshi
- Department of ChemistryUploaded byMarco Aden
- EMV v4.3 Book 1 ICC to Terminal Interface 2012060705394541Uploaded bySunil Shenava