<< Chapter < Page Chapter >> Page >

Question and comments

Questions or comments concerning this laboratory should be directedto Prof. Charles A. Bouman, School of Electrical and Computer Engineering, Purdue University, West Lafayette IN 47907;(765) 494-0340; bouman@ecn.purdue.edu

Introduction

The purpose of this lab is to illustrate the properties of continuous and discrete-time signals using digital computersand the Matlab software environment. A continuous-time signal takes on a value at every pointin time, whereas a discrete-time signal is only defined at integer values of the “time” variable.However, while discrete-time signals can be easily stored and processed on a computer,it is impossible to store the values of a continuous-time signal for all points along a segment of the real line.In later labs, we will see that digital computers are actuallyrestricted to the storage of quantized discrete-time signals. Such signals are appropriately known as digital signals.

How then do we process continuous-time signals? In this lab, we will show that continuous-time signalsmay be processed by first approximating them by discrete-time signals using a process knownas sampling. We will see that proper selectionof the spacing between samples is crucial for an efficient and accurate approximationof a continuous-time signal. Excessively close spacing will lead to too much data,whereas excessively distant spacing will lead to a poor approximation of the continuous-time signal.Sampling will be an important topic in future labs, but for now we will use sampling to approximatelycompute some simple attributes of both real and synthetic signals.

Be sure to read the guidelines for the written reports.

Matlab review

Practically all lab tasks in the ECE438 lab will be performed using Matlab. Matlab (MATrix LABoratory) is a technical computing environmentfor numerical analysis, matrix computation, signal processing, and graphics.In this section, we will review some of its basic functions. For a short tutorial and some Matlab examples click here .

Starting matlab and getting help

You can start Matlab (version 7.0) on your workstation by typing the command

matlab

in a command window. After starting up, you will get a Matlab window.To get help on any specific command, such as “plot”, you can type the following

help plot

in the “Command Window” portion of the Matlab window. You can do a keyword search for commands related to a topic by using thefollowing.

lookfor topic

You can get an interactive help window using the function

helpdesk

or by following the Help menu near the top of the window.

Matrices and operations

Every element in Matlab is a matrix. So, for example, the Matlab command

a = [ 1 2 3 ]

creates a matrix named “ a ” with dimensions of 1 × 3 . The variable “ a ” is stored in what is called the Matlab workspace. The operation

b = a .'

stores the transpose of “ a ” into the vector “ b ”. In this case, “ b ” is a 3 × 1 vector.

Since each element in Matlab is a matrix, the operation

c = a * b

computes the matrix product of “ a ” and “ b ” to generate a scalarvalue for “ c ” of 14 = 1 * 1 + 2 * 2 + 3 * 3 .

Questions & Answers

how to create a software using Android phone
Wiseman Reply
how
basra
what is the difference between C and C++.
Yan Reply
what is software
Sami Reply
software is a instructions like programs
Shambhu
what is the difference between C and C++.
Yan
yes, how?
Hayder
what is software engineering
Ahmad
software engineering is a the branch of computer science deals with the design,development, testing and maintenance of software applications.
Hayder
who is best bw software engineering and cyber security
Ahmad
Both software engineering and cybersecurity offer exciting career prospects, but your choice ultimately depends on your interests and skills. If you enjoy problem-solving, programming, and designing software syste
Hayder
what's software processes
Ntege Reply
I haven't started reading yet. by device (hardware) or for improving design Lol? Here. Requirement, Design, Implementation, Verification, Maintenance.
Vernon
I can give you a more valid answer by 5:00 By the way gm.
Vernon
it is all about designing,developing, testing, implementing and maintaining of software systems.
Ehenew
hello assalamualaikum
Sami
My name M Sami I m 2nd year student
Sami
what is the specific IDE for flutter programs?
Mwami Reply
jegudgdtgd my Name my Name is M and I have been talking about iey my papa john's university of washington post I tagged I will be in
Mwaqas Reply
yes
usman
how disign photo
atul Reply
hlo
Navya
hi
Michael
yes
Subhan
Show the necessary steps with description in resource monitoring process (CPU,memory,disk and network)
samuel Reply
What is software engineering
Tafadzwa Reply
Software engineering is a branch of computer science directed to writing programs to develop Softwares that can drive or enable the functionality of some hardwares like phone , automobile and others
kelvin
if any requirement engineer is gathering requirements from client and after getting he/she Analyze them this process is called
Alqa Reply
The following text is encoded in base 64. Ik5ldmVyIHRydXN0IGEgY29tcHV0ZXIgeW91IGNhbid0IHRocm93IG91dCBhIHdpbmRvdyIgLSBTdGV2ZSBXb3puaWFr Decode it, and paste the decoded text here
Julian Reply
what to do you mean
Vincent
hello
ALI
how are you ?
ALI
What is the command to list the contents of a directory in Unix and Unix-like operating systems
George Reply
how can i make my own software free of cost
Faizan Reply
like how
usman
hi
Hayder
The name of the author of our software engineering book is Ian Sommerville.
Doha Reply
what is software
Sampson Reply
the set of intruction given to the computer to perform a task
Noor
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Purdue digital signal processing labs (ece 438). OpenStax CNX. Sep 14, 2009 Download for free at http://cnx.org/content/col10593/1.4
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Purdue digital signal processing labs (ece 438)' conversation and receive update notifications?

Ask