{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

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

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

{[ snackBarMessage ]}