You are on page 1of 6

LAB ACTIVITY 2 - Unit Step Sequence

Name: Gomez, Christian Benedict B.______________ Date Performed: 30-09-2022________________

Section: BSECE 3-1_____________________________ Date Submitted: 04-10-2022________________

Professor: Sir Edwin Arboleda_ __________________ Time Allocation: 30 minutes

Objectives:

This activity allows the students to plot a unit step sequence using Octave.

Watch and Learn

Type and execute the following code . Copy the screen output of the program to the
corresponding space provided , and answer the questions that follow.

Unit Step Sequence

1. Plot x(n) = u (n) , -10 < n < 10


2. What is the screen output after executing the code above :
3. Plot x(n) = u (n+5) , -10 < n < 10.

5. What is the screen output after executing the code above :


6. Plot x(n) = u(n-5) , -10 < n < 10.

7. What is the screen output after executing the code above :


POST ACTIVITY 2.1 : Drill Problems

Within Class Hours

1. Generate and plot each of the following sequences over the indicated interval.

x(n) = 3 u( n +3 ) – u(n-5), -8 < n < 8


2. Generate and plot each of the following sequences over the indicated interval.

x(n) = n[u(n) –u(n-5)] + 8[u(n-10) – u(n-18)]

0 < n < 18

POST ACTIVITY 2.2

Go to pdfdrive.com , from books about Digital Signal Processing solve 20 problems involving Unit
Step sequence ( just like in drill problems). Copy the problem from the book and plot it using
Octave.

Cite your sources using Mendeley, IEEE format.

Submission is this meeting .

You might also like