Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Experiment name: Discrete-time elementary signals.

Objective: By this experiment we introduce the concept of a discrete-time elementary signal


as function of time. We also introduce the concept of a system as a relationship between an
input signal and an output signal.

Theory: A signal is a function of one or more variables that conveys information about some
(usually physical) phenomenon. A signal that is a function of discrete variables (e.g., an
integer variable)is said to be discrete time.

Theory: A discrete-time sinusoidal signal may be expressed as


Xn(t)= ACos(wt+θ), -∞<n<∞

where n is an integer variable. called the sample number. A is the amplitude of the sinusoid.
w is the frequency in radians per sample. and θ is the phase in radians.
If instead of w we use the frequency variable f defined by
W=2πf
the relation becomes
Xn(t)= ACos(2πf +θ), -∞<n<∞

The frequency f has dimensions of cycles per sample.

Matlab Coding:

N=21
x=sin(.2*pi*n);
n=0:1:N-1;
subplot(2,1,1);
stem(n,x);
xlabel('n');
ylabel('y(n)');
title('sinusoidal signal');

N=21
x=cos(.2*pi*n);
n=0:1:N-1;
subplot(2,1,2);
stem(n,x);
xlabel('n');
ylabel('y(n)');
title('cosine signal');

Conclusion: A discrete-time signal is a time series consisting of a sequence of quantities.

2 Submitted By : SHOVAN DHAR ID:182000320e

You might also like