Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Discrete Time Signals and Sampling - Computer Experiment 1 | EE 322, Assignments of Electrical and Electronics Engineering

Material Type: Assignment; Professor: Shaw; Class: Linear Systems II; Subject: Electrical Engineering; University: Wright State University-Main Campus; Term: Spring 2009;

Typology: Assignments

Pre 2010

Uploaded on 08/18/2009

koofers-user-l3c-1
koofers-user-l3c-1 🇺🇸

10 documents

1 / 2

Toggle sidebar

Related documents


Partial preview of the text

Download Discrete Time Signals and Sampling - Computer Experiment 1 | EE 322 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity! EE-322 Computer Experiment 1 Discrete-time signals and sampling Due : April-23, 2009 1. Simulate the signals shown below in Matlab. Then plot the following sequences using sub-plots: Attach the plots with your answers. Verify your answers with hand-calculations (6 plots) a) 1 2( ) ( )x n x n b) 1 23 ( ) 2 ( )x n x n c) 1 2( ) ( )x n x n d) 1( 1)x n e) 1 2( 1) ( 1)x n x n   f) 1 2( 1) ( 1)x n x n  Note: Use ”help subplot” or ”doc subplot” inside Matlab to learn more about using sub-plots to show all cases in the same page. Example: > > x1=[0 0 0 1 2 -1 0.5 -2 0 0]; % The extra zeros are needed to match the length of x2 >> n = -4:1:5; % the indices also match that of x2 >> stem(n,x1,’filled’); % the values show up in filled circles >> ylabel('x_1(n)'); xlabel('n'); % Labels the y-axis and x-axis >> title('x1 signal') % Puts the title at the top Create the shifted the signals as follows: >> x1_shift_right1(1:10) = 0; >> x1_shift_right1(2:10) = x1(1:9); >> x2_shift_left1(1:10) = 0; >> x2_shift_left1(1:9) = x2(2:10);
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved