0% found this document useful (0 votes)
5 views

Lab 1

This document discusses an introductory lab on signals and systems using MATLAB. The lab objectives are to generate signals, perform Fourier transforms, represent systems using coefficients, calculate system outputs, and plot results. Students are instructed to run the MATLAB code provided, which will generate three figures to paste into their lab report.

Uploaded by

shanzey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Lab 1

This document discusses an introductory lab on signals and systems using MATLAB. The lab objectives are to generate signals, perform Fourier transforms, represent systems using coefficients, calculate system outputs, and plot results. Students are instructed to run the MATLAB code provided, which will generate three figures to paste into their lab report.

Uploaded by

shanzey
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Dr.

Omar

Lab 1:
Course: ECT-365
Student Name: Andre Williamson
Professor: Abdulmagid Omar
Dr. Omar

ECET345 Signals and Systems: Lab1


Important signals and systems MATLAB functions and
commands.
This lab is used as an exercise or a tutorial to allow you to understand how to use MATLAB to
perform wide range of functions that are needed in signal processing and also will be used in
the coming labs.
This lab will also be used as a reference for all future labs, meaning that we will refer to it to
explain how to perform some signal processing operations. Some of the signal processing
operations that we will be frequently using are listed in the objectives below:

Objectives
After completing this lab, you should be able to do the following:
1- Generate a signal x given the frequency and the number of points.
2- Find the frequency representation of a signal x using the Fourier Transform.
3- Representing a system given a set of coefficients (Bs and As).
4- Find the output of a system due to an input x.
5- Plot your results in different format using any of the following forms:
a) Plot the input x and the output y and their frequency spectrum
b) Arranging your output using
i. Figure and/or
ii. subplot

c) Plot the amplitude and phase spectrum of a system represented by the


coefficients B's and A's
d) Plot the input x and the output y of a system on the same graph so that you can
see the effect of the system on your signal.
e) Adding a legend to your plots
Steps:
1) Start Matlab from Citrix
2) Open new function (or script) (see below)
3) Enter the code below as is
4) When done, save the file in your local disk
5) Run the file press the green triangle (see below)
6) If you have errors then look at the command window for which line has the error and fix.
7) when no errors, the program will run and generate three figures. Paste all the three figures below
Dr. Omar
Dr. Omar
Dr. Omar

Paste the three figures in the space below:


Dr. Omar
Dr. Omar

You might also like