Vous êtes sur la page 1sur 7

PROCEDURE A: DISCRETE-TIME EVEN SIGNAL

#1 & #2

n is the size of the graph, x1 is the range that data on the right (negative) and left
(positive) side of the graph (x-axis)
#3

The values inside x1 signifies the data that is to be plotted in the graph. Since the
values were changed to 1 2 3 4 0 0 0 (from 0 0 0 1 2 3 4), the plotted data was
also changed. The value of y is changed to x, thus resulting to a taller graph.
#4

DSP|Silva, Mary Jane S.

Since the thickness was changed from 2 to 5, its clear that the thickness of the
output (graph & data) will also change its thickness. The location middle was
removed so the table was not on the center.
#5

When using plot2d3(n,x), the data is plotted using vertical bars and since it was
changed to plot(n,x), it only plotted 2D curves.
#6

The value of x1 is changed yet again from 1 2 3 4 0 0 0 to 0 0 0 -1 -2 -3 -4, so the


output is plotted downwards instead of upwards (since its a negative value). The
location of the graph is added again so the graph is expected to be on the
middle.
Observations
a) a=gca(); a the handle of the current axes entity, gca - returns handle of
current axes.
b) a.thickness=2 changes the thickness of the current axes to 2
c) plot2d3(n,x) the data is plotted using vertical bars

DSP|Silva, Mary Jane S.

PROCEDURE B: DISCRETE-TIME ODD SIGNAL


#1

#2

Error
#3

DSP|Silva, Mary Jane S.

The data plotted on the left (negative) side was changed.


Observations
#4

The output from the left (negative) side is from maximum to minimum and the
output from the right side is the same, from maximum to minimum.
Observations
a) The signal generated is still a discrete-time odd signal since it still satisfies the
condition x(-t)=-x(t)
PROCEDURE C: DISCRETE-TIME PERIODIC SIGNAL
#1

#2

DSP|Silva, Mary Jane S.

#3

The t is changed from 50 to 100, so it is expected the generated signal would


have an appx.100 pulses (?).

PROCEDURE D: DISCRETE-TIME NON-PERIODIC SIGNAL

DSP|Silva, Mary Jane S.

#1

#2

#3

DSP|Silva, Mary Jane S.

Observations:
a) Yes, the generated signal is a discrete-time non-periodic signal since the value of
N is not always a positive integer.
b)
ANSWER TO THE REPORT:
1.
What is the general formula that will describe the EVEN discrete-time function
x=[x1,5,x1(length(x1):-1:1)];
2.
What is the general formula that will describe the ODD discrete-time function?
x=[x1($:-1:2),x1];
3.
Compare a discrete-time periodic signal to a discrete-time non-periodic signal?
A discrete-time is periodic if there is a non-zero integer while discrete-time nonperiodic does not repeats its pattern over a period.
4.
From procedure C and D, how do we convert a continuous-time signal into a
discrete-time signal?
Through sampling.

DSP|Silva, Mary Jane S.

Vous aimerez peut-être aussi