<< Chapter < Page Chapter >> Page >

System analysis

Simulink model for the continuous-time system analysis experiment using a network analyzer.

Double click the icon labeled CT System Analysis using a Network Analyzer to bring up a system as shown in [link] . This system includes a Network Analyzer model for measuring the frequency response of a system.The Network Analyzer works by generating a weighted chirp signal (shown on the Scope ) as an input to the system-under-test.The analyzer measures the frequency response of the input and output of the system and computes the transfer function.By computing the inverse Fourier transform, it then computes the impulse response of the system.Use this setup to compute the frequency and impulse response of the given fourth order Butterworth filter with a cut-offfrequency of 1Hz. Print the figure showing the magnitude response, the phase response and the impulse response of the system. To use the tallmode to obtain a larger printout, type orient('tall'); directly before you print.

Simulink model for the continuous-time system analysis experiment using a unit step.

An alternative method for computing the impulse response is to input a step into the system and then to compute the derivative of the output.The model for doing this is given in the CT System Analysis using a Unit Step block. Double click on this icon and compute the impulse response of thefilter using this setup ( [link] ). Make sure that the characteristics of the filterare the same as in the previous setup. After running the simulation, print the graphof the impulse response.

Hand in the printout of the output of the Network Analyzer (magnitude and phase of the frequency response, and the impulse response) and the plot of the impulse responseobtained using a unit step. What are the advantages and disadvantages of each method?

Discrete-time frequency analysis

In this section of the laboratory, we will study the use of the discrete-time Fourier transform.

Discrete-time fourier transform

The DTFT (Discrete-Time Fourier Transform) is the Fourier representation used for finite energy discrete-time signals.For a discrete-time signal, x ( n ) , we denote the DTFT as the function X ( e j ω ) given by the expression

X ( e j ω ) = n = - x ( n ) e - j ω n .

Since X ( e ) is a periodic function of ω with a period of 2 π , we need only to compute X ( e ) for - π < ω < π   .

Write a Matlab function X=DTFT(x,n0,dw) that computes the DTFT of the discrete-time signal x Here n0 is the time index corresponding to the 1st element of the x vector, and dw is the spacing between the samples of the Matlab vector X . For example, if x is a vector of length N , then its DTFT is computed by

X ( w ) = n = 1 N x ( n ) e - j w ( n + n 0 - 1 )

where w is a vector of values formed by w=(-pi:dw:pi) .

In Matlab, j or i is defined as - 1 . However, you may also compute this value using the Matlab expression i=sqrt(-1) .

For the following signals use your DTFT function to

  • Compute X ( e j ω )
  • Plot the magnitude and the phase of X ( e j ω ) in a single plot using the subplot command.
Use the abs() and angle() commands.
  1. x ( n ) = δ ( n )
  2. x ( n ) = δ ( n - 5 )
  3. x ( n ) = ( 0 . 5 ) n u ( n )
Hand in a printout of your Matlab function. Also hand in plots of the DTFT's magnitude and phase for each of the three signals.

System analysis

For help on printing Simulink system windows click here .

Incomplete Simulink setup for the discrete-time system analysis experiment.

Double click the icon labeled DT System Analysis to bring up an incomplete block diagram as shown in [link] . It is for a model that takes a discrete-time sine signal, processesit according to a difference equation and plots the multiplexed input and output signals in a graph window.Complete this block diagram such that it implements the following difference equation given in "Magnitude and Phase of Discrete-Time Systems" of the background exercises.

y ( n ) = 0 . 9 y ( n - 1 ) + 0 . 3 x ( n ) + 0 . 24 x ( n - 1 )

You are provided with the framework of the setup and the building blocks that you will need.You can change the values of the Gain blocks by double clicking on them. After you complete the setup, adjust the frequency of Sine Wave to the following frequencies: ω = π / 16  ,   ω = π / 8  , and ω = π / 4  . For each frequency,make magnitude response measurements using the input and output sequences shown in the graph window.Compare your measurements with the values of the magnitude response | H ( e j ω ) | which you computed in the background exercises at these frequencies.

An alternative way of finding the frequency response is taking the DTFT of the impulse response.Use your DTFT function to find the frequency response of this system from its impulse response. The impulse response was calculated in "Magnitude and Phase of Discrete-Time Systems" of the background exercises. Plot the impulse response, andthe magnitude and phase of the frequency response in the same figure using the subplot command.

Hand in the following: 1) Printout of your completed block diagram.2) Table of both the amplitude measurements you made and their theoretical values. 3) Printout of the figure with the impulse response,and the magnitude and phase of the frequency response.

Questions & Answers

how does Neisseria cause meningitis
Nyibol Reply
what is microbiologist
Muhammad Reply
what is errata
Muhammad
is the branch of biology that deals with the study of microorganisms.
Ntefuni Reply
What is microbiology
Mercy Reply
studies of microbes
Louisiaste
when we takee the specimen which lumbar,spin,
Ziyad Reply
How bacteria create energy to survive?
Muhamad Reply
Bacteria doesn't produce energy they are dependent upon their substrate in case of lack of nutrients they are able to make spores which helps them to sustain in harsh environments
_Adnan
But not all bacteria make spores, l mean Eukaryotic cells have Mitochondria which acts as powerhouse for them, since bacteria don't have it, what is the substitution for it?
Muhamad
they make spores
Louisiaste
what is sporadic nd endemic, epidemic
Aminu Reply
the significance of food webs for disease transmission
Abreham
food webs brings about an infection as an individual depends on number of diseased foods or carriers dully.
Mark
explain assimilatory nitrate reduction
Esinniobiwa Reply
Assimilatory nitrate reduction is a process that occurs in some microorganisms, such as bacteria and archaea, in which nitrate (NO3-) is reduced to nitrite (NO2-), and then further reduced to ammonia (NH3).
Elkana
This process is called assimilatory nitrate reduction because the nitrogen that is produced is incorporated in the cells of microorganisms where it can be used in the synthesis of amino acids and other nitrogen products
Elkana
Examples of thermophilic organisms
Shu Reply
Give Examples of thermophilic organisms
Shu
advantages of normal Flora to the host
Micheal Reply
Prevent foreign microbes to the host
Abubakar
they provide healthier benefits to their hosts
ayesha
They are friends to host only when Host immune system is strong and become enemies when the host immune system is weakened . very bad relationship!
Mark
what is cell
faisal Reply
cell is the smallest unit of life
Fauziya
cell is the smallest unit of life
Akanni
ok
Innocent
cell is the structural and functional unit of life
Hasan
is the fundamental units of Life
Musa
what are emergency diseases
Micheal Reply
There are nothing like emergency disease but there are some common medical emergency which can occur simultaneously like Bleeding,heart attack,Breathing difficulties,severe pain heart stock.Hope you will get my point .Have a nice day ❣️
_Adnan
define infection ,prevention and control
Innocent
I think infection prevention and control is the avoidance of all things we do that gives out break of infections and promotion of health practices that promote life
Lubega
Heyy Lubega hussein where are u from?
_Adnan
en français
Adama
which site have a normal flora
ESTHER Reply
Many sites of the body have it Skin Nasal cavity Oral cavity Gastro intestinal tract
Safaa
skin
Asiina
skin,Oral,Nasal,GIt
Sadik
How can Commensal can Bacteria change into pathogen?
Sadik
How can Commensal Bacteria change into pathogen?
Sadik
all
Tesfaye
by fussion
Asiina
what are the advantages of normal Flora to the host
Micheal
what are the ways of control and prevention of nosocomial infection in the hospital
Micheal
what is inflammation
Shelly Reply
part of a tissue or an organ being wounded or bruised.
Wilfred
what term is used to name and classify microorganisms?
Micheal Reply
Binomial nomenclature
adeolu
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