ECET 305 SA 1 MATLAB Exercises

# ECET 305 SA 1 MATLAB Exercises - plot command graph s(t...

This preview shows pages 1–2. Sign up to view the full content.

ECET-305 Supplementary Assignment 1 MATLAB Exercises 1. Using MATLAB commands, calculate the following: a. (1/4) π - = ___________________ b. ( / 4) j e = ___________________ c. 15! = ____________________ d. cotangent(33 o ) = ________________ e. The number of possible combinations of 6 numbers drawn without replacement from a set 52 numbers (i.e., lottery odds) = _____________________ 2. Find the product of the following two polynomials: 5 3 2 4 3 1 2 ( ) (5 6 2 5) and ( ) (9 5 4 3) p x x x x p x x x x = + + + = + + + (Hint: use the MATLAB command conv. Read its help file). 1 2 ( ) ( ) p x p x = __________________________________________ 3. For the following functions and using the MATLAB

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: plot command, graph s(t) versus t from t = 0 to t = 5 where t is in increments of 0.01. Print and attach the plots. a. ( ) 3sin(5 ) s t t = b. ( ) t s t e-= c. ( ) 3 sin(5 ) t s t e t-= d. ( ) sinc[ ( 2.5)] s t t π =-(Hint: read the help file for the sinc function carefully .) 4. Using MATLAB, create a stem plot of x[n] versus n for the following discrete functions. Print and attach the plots. a. 3 [ ] sin 4 x n n = for n = [0,1,2,…,20] b. [ ] 2 n x n = for n = [0,1,2,…,20] c. [ ] ( 0.8) n x n = -for n = [0,1,2,…,20]...
View Full Document

{[ snackBarMessage ]}

### Page1 / 2

ECET 305 SA 1 MATLAB Exercises - plot command graph s(t...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online