Program_2_3 - n = 0:N; x = K*a.^n; stem(n,x); xlabel('Time...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
% Program 2_3 % Generation of real exponential sequence % a = input('Type in argument = '); K = input('Type in the gain constant = '); N = input ('Type in length of sequence = ');
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: n = 0:N; x = K*a.^n; stem(n,x); xlabel('Time index n');ylabel('Amplitude'); title(['\alpha = ',num2str(a)]);...
View Full Document

This note was uploaded on 12/11/2009 for the course DCC 34 taught by Professor Antonio during the Spring '09 term at Pontifical Catholic University of Peru.

Ask a homework question - tutors are online