Академический Документы
Профессиональный Документы
Культура Документы
EXPERIMENT NO. 1
TYPES OF SEQUENCES
DSP LABORATORY
Shifted by n0
[ ] ( )
( ) ( )
[ ] ( )
[ ] [( ) ]
MATLAB EXAMPLE 1
MATLAB EXAMPLE 2
1 hot
Digital Signal Processing AUF-CEA
Friday 2 pm -5pm 1st Sem. / S.Y. 2016-2017
( ) { and ( ) {
Shifted by n0
[ ] ( )
( ) ( )
[ ] ( )
[ ] [( ) ]
MATLAB EXAMPLE 1
MATLAB EXAMPLE 2
2 hot
Digital Signal Processing AUF-CEA
Friday 2 pm -5pm 1st Sem. / S.Y. 2016-2017
( )
Example
( ) ( )
MATLAB
>> n=[0:10];
>> x=(0.9).^n;
>> stem(n,x)
( ) ( )
Example
( ) [( ) ]
MATLAB
>> n=[0:10];
>> x=exp((2+3*j).*n);
>> stem(n,x)
3 hot
Digital Signal Processing AUF-CEA
Friday 2 pm -5pm 1st Sem. / S.Y. 2016-2017
5. Sinusoidal Sequence
( ) ( )
Example
( ) ( ⁄ ) ( )
MATLAB
>> n=[0:10];
>> x=3*cos(0.1*pi*n+pi/3) + 2*sin(0.5*pi*n);
>> stem(n,x)
6. Random Sequence
MATLAB
>> x=rand(1,20);
>> stem(x)
4 hot
Digital Signal Processing AUF-CEA
Friday 2 pm -5pm 1st Sem. / S.Y. 2016-2017
MATLAB
>> x=randn(1,20);
>> stem(x)
7. Periodic Sequence
( ) ( ) ( )
[ ]
5 hot
Digital Signal Processing AUF-CEA
Friday 2 pm -5pm 1st Sem. / S.Y. 2016-2017
MATLAB
>> x=[6 9 0]
>> xtilde=x’ *ones(1,4)
>> xtilde=xtilde(:)
>> xtilde=xtilde’
ACTIVITY
6 hot