SlideShare a Scribd company logo
1 of 12
Download to read offline
1
Lab 07:
Phase Response of Pole/Zero
Submitted By :
Syed Abuzar Hussain Shah
SP15-BEE-096
Uzair Ahmed
SP15-BEE-106
Syed Hasnain Shah
SP15-BEE-100
Submitted To: Sir Usman
Class: BEE-5A
Dated: 11/05/2017
2
Objective:
In today’s lab the objective will be to understand the of effect of pole and zeros on
frequency phase response using MATLAB.
Statement:
1. Take a zero at unit circle using equation 1- .
2. Now take its frequency response using freqz command and analyze the effect
phase of the zero.
3. Now change the magnitude and keep on observing the frequency response.
4. Keeping the phase of zero using the equation given on right hand side
𝟏 - 𝒂 : -𝝅 𝜽 .
5. Take the value of a=1 and from – 𝝅 and increase slowly towards 𝝅,
accordingly observe the phase response.
6. Now repeat the same steps for the analysis of behavior of a pole.
7. Repeat step 6 for All Zero, All Pole and ARMA Models.
8. Now for FIR model with equation 𝟏 - 𝒂 keeping 𝜽 = 𝟎, and changing the
value of a from 0.1 to 10, analyze the effect of phase response using ‘freqz’
command.
9. Repeat step 9 for All Pole and ARMA Models.
Procedure:
1. Phase Response for 𝜽 𝟏 𝟎 and a=1 for 𝟏 𝟏
Clc
close all
clear all
th=-pi;
a=1;
%All zero Model
n=[1 -a*exp(i*th)];
d=1;
subplot(321)
zplane(n,d)
[H,w]=freqz(n,d,'whole');
subplot(322)
plot((w-pi)./pi,fftshift(abs(H)))
xlabel 'omega (x pi)'
title('All zero model');
3
%All pole model
d=[1 -a*exp(i*th)];
n=1;
subplot(323)
zplane(n,d)
[H,w]=freqz(n,d,'whole');
subplot(324)
plot((w-pi)./pi,fftshift(abs(H)))
xlabel 'omega (x pi)'
title('All pole model');
axis([-2 2 -1 100])
grid on;
%ARMA Model
n=[1 -a*exp(i*th)];
d=[1 -a*exp(i*th)];
subplot(325)
zplane(n,d)
[H,w]=freqz(n,d,'whole');
subplot(326)
plot((w-pi)./pi,fftshift(abs(H)))
xlabel 'omega (x pi)'
title('ARMA model');
grid on;
4
2. Phase Response for 𝜽 𝟎 and a=1 for 𝟏 𝟏
clc, clear all, close all;
th=0;
a=1;
%All zero Model
n=[1 -a*exp(i*th)];
d=1;
subplot(321)
zplane(n,d)
[H,w]=freqz(n,d,'whole');
subplot(322)
plot((w-pi)./pi,fftshift(abs(H)))
xlabel 'omega (x pi)'
title('All zero model');
grid on
%All pole model
d=[1 -a*exp(i*th)];
n=1;
subplot(323)
zplane(n,d)
[H,w]=freqz(n,d,'whole');
subplot(324)
plot((w-pi)./pi,fftshift(abs(H)))
xlabel 'omega (x pi)'
title('All pole model');
grid on
%ARMA Model
n=[1 -a*exp(i*th)];
d=[1 -a*exp(i*th)];
subplot(325)
zplane(n,d)
[H,w]=freqz(n,d,'whole');
subplot(326)
plot((w-pi)./pi,fftshift(abs(H)))
xlabel 'omega (x pi)'
title('ARMA model');
grid on
5
3. Phase Response for 𝜽 𝟏 𝟎 and a=1 for 𝟏 𝟏
clc, clear all, close all;
th=180;
a=1;
%All zero Model
n=[1 -a*exp(i*th)];
d=1;
subplot(321)
zplane(n,d)
[H,w]=freqz(n,d,'whole');
subplot(322)
plot((w-pi)./pi,fftshift(abs(H)))
xlabel 'omega (x pi)'
title('All zero model');
grid on
%All pole model
d=[1 -a*exp(i*th)];
n=1;
subplot(323)
zplane(n,d)
[H,w]=freqz(n,d,'whole');
subplot(324)
plot((w-pi)./pi,fftshift(abs(H)))
6
xlabel 'omega (x pi)'
title('All pole model');
grid on
%ARMA Model
n=[1 -a*exp(i*th)];
d=[1 -a*exp(i*th)];
subplot(325)
zplane(n,d)
[H,w]=freqz(n,d,'whole');
subplot(326)
plot((w-pi)./pi,fftshift(abs(H)))
xlabel 'omega (x pi)'
title('ARMA model');
grid on
4. Phase Response for 𝜽 𝟎 and a=2 for 𝟏 𝟏
clc, clear all, close all;
th=0;
a=2;
%All zero Model
n=[1 -a*exp(i*th)];
d=1;
subplot(321)
7
zplane(n,d)
[H,w]=freqz(n,d,'whole');
subplot(322)
plot((w-pi)./pi,fftshift(abs(H)))
xlabel 'omega (x pi)'
title('All zero model');
grid on
%All pole model
d=[1 -a*exp(i*th)];
n=1;
subplot(323)
zplane(n,d)
[H,w]=freqz(n,d,'whole');
subplot(324)
plot((w-pi)./pi,fftshift(abs(H)))
xlabel 'omega (x pi)'
title('All pole model');
%ARMA Model
n=[1 -a*exp(i*th)];
d=[1 -a*exp(i*th)];
subplot(325)
zplane(n,d)
[H,w]=freqz(n,d,'whole');
subplot(326)
plot((w-pi)./pi,fftshift(abs(H)))
xlabel 'omega (x pi)'
title('ARMA model');
8
5. Phase Response for 𝜽 𝟎 and a=0.5 for 𝟏 𝟏
clc, clear all, close all;
th=0;
a=0.5;
%All zero Model
n=[1 -a*exp(i*th)];
d=1;
subplot(321)
zplane(n,d)
[H,w]=freqz(n,d,'whole');
subplot(322)
plot((w-pi)./pi,fftshift(abs(H)))
xlabel 'omega (x pi)'
title('All zero model');
grid on
%All pole model
d=[1 -a*exp(i*th)];
n=1;
subplot(323)
zplane(n,d)
[H,w]=freqz(n,d,'whole');
subplot(324)
plot((w-pi)./pi,fftshift(abs(H)))
xlabel 'omega (x pi)'
title('All pole model');
axis([-2 2 -1 100])
grid on
%ARMA Model
n=[1 -a*exp(i*th)];
d=[1 -a*exp(i*th)];
subplot(325)
zplane(n,d)
[H,w]=freqz(n,d,'whole');
subplot(326)
plot((w-pi)./pi,fftshift(abs(H)))
xlabel 'omega (x pi)'
title('ARMA model');
grid on
9
Questions:
Q1): Suggest when do you face a linear phase and in which case have you
observed a non-linear phase?
Ans: Using ‘fvtool(n,d)’ in command window and giving inputs numerator and
denominator co-efficients, we observe linear phase in case of all pole model and all
zero model only. In ARMA model, non-linear phase is observed.
Q2): What is the difference between the phase of All Pole and All Zero Model?
Ans: The phase response of pole and zero are 180 degree out of phase.
10
Q3): What is the effect of change of 𝜽 on phase of a pole or zero?
Ans: When 𝜽=0 the phase response is straight line.
When we change 𝜽=-180 to 𝜽=180 the phase response will flipped. There will
be shift of .
11
Q4): What is the effect of change of 𝒂 > 𝟏 on phase of a pole or zero?
Ans: When distance of pole or zero is increased from 1, it has no effect on the
phase response.
Q5): What is the effect of change of 𝒂 < 𝟏 on phase of a pole or zero?
Ans: When distance of pole or zero is decreased from unity, the phase response will
become 0 at 0 and 180 while it is maximum in middle.
12
Q6): When a=1 what is the effect of phase in case of an ARMA model?
Ans: In case of ARMA model Phase response is non-linear because when pole and
zero both are combined, they will cancel the effect of each other.
Conclusion:
In this lab we learnt the phase response of :
 All zero model
 All pole model
 ARMA model
 We concluded that phase response is linear in case of All pole and All zero
model but it is non linear in ARMA model because when pole and zero both are
combined, they will cancel the effect of each other.
 Phase response of pole and zero are 180 degree out of phase.
 The point where zero lies has minimum intensity.
 The point where pole lies has maximum intensity.

More Related Content

What's hot

BIometrics- plotting DET and EER curve using Matlab
BIometrics- plotting DET and EER curve using MatlabBIometrics- plotting DET and EER curve using Matlab
BIometrics- plotting DET and EER curve using Matlab
Shiv Koppad
 

What's hot (20)

Approximation Algorithms
Approximation AlgorithmsApproximation Algorithms
Approximation Algorithms
 
Bode plot
Bode plotBode plot
Bode plot
 
Lag lead compensator design in frequency domain 7th lecture
Lag lead compensator design in frequency domain  7th lectureLag lead compensator design in frequency domain  7th lecture
Lag lead compensator design in frequency domain 7th lecture
 
Chap8 new
Chap8 newChap8 new
Chap8 new
 
Data structure
Data structureData structure
Data structure
 
Bode Plot Notes Step by Step
Bode Plot Notes Step by StepBode Plot Notes Step by Step
Bode Plot Notes Step by Step
 
Introduction to Approximation Algorithms
Introduction to Approximation AlgorithmsIntroduction to Approximation Algorithms
Introduction to Approximation Algorithms
 
Vertex cover Problem
Vertex cover ProblemVertex cover Problem
Vertex cover Problem
 
Deadbeat Response Design _8th lecture
Deadbeat Response Design _8th lectureDeadbeat Response Design _8th lecture
Deadbeat Response Design _8th lecture
 
Bode Plots
Bode Plots Bode Plots
Bode Plots
 
BIometrics- plotting DET and EER curve using Matlab
BIometrics- plotting DET and EER curve using MatlabBIometrics- plotting DET and EER curve using Matlab
BIometrics- plotting DET and EER curve using Matlab
 
Bode plot
Bode plot Bode plot
Bode plot
 
Ee2365 nol part 2
Ee2365 nol part 2Ee2365 nol part 2
Ee2365 nol part 2
 
Algorithms of graph
Algorithms of graphAlgorithms of graph
Algorithms of graph
 
Multicasting in Linear Deterministic Relay Network by Matrix Completion
Multicasting in Linear Deterministic Relay Network by Matrix CompletionMulticasting in Linear Deterministic Relay Network by Matrix Completion
Multicasting in Linear Deterministic Relay Network by Matrix Completion
 
Lecture26
Lecture26Lecture26
Lecture26
 
Symbolic Execution as DPLL Modulo Theories
Symbolic Execution as DPLL Modulo TheoriesSymbolic Execution as DPLL Modulo Theories
Symbolic Execution as DPLL Modulo Theories
 
CS106 Lab 9 - 1D array
CS106 Lab 9 - 1D arrayCS106 Lab 9 - 1D array
CS106 Lab 9 - 1D array
 
Tail Recursion in data structure
Tail Recursion in data structureTail Recursion in data structure
Tail Recursion in data structure
 
Signal Processing Assignment Help
Signal Processing Assignment HelpSignal Processing Assignment Help
Signal Processing Assignment Help
 

Similar to Phase Responce of Pole zero

61617, 129 AMP12.081 GO MultipartPage 1 of 6httpsedu.docx
61617, 129 AMP12.081 GO MultipartPage 1 of 6httpsedu.docx61617, 129 AMP12.081 GO MultipartPage 1 of 6httpsedu.docx
61617, 129 AMP12.081 GO MultipartPage 1 of 6httpsedu.docx
alinainglis
 
Liouville's theorem and gauss’s mean value theorem.pptx
Liouville's theorem and gauss’s mean value theorem.pptxLiouville's theorem and gauss’s mean value theorem.pptx
Liouville's theorem and gauss’s mean value theorem.pptx
MasoudIbrahim3
 
1 ECE 6340 Fall 2013 Homework 8 Assignment.docx
 1 ECE 6340 Fall 2013  Homework 8 Assignment.docx 1 ECE 6340 Fall 2013  Homework 8 Assignment.docx
1 ECE 6340 Fall 2013 Homework 8 Assignment.docx
joyjonna282
 

Similar to Phase Responce of Pole zero (20)

61617, 129 AMP12.081 GO MultipartPage 1 of 6httpsedu.docx
61617, 129 AMP12.081 GO MultipartPage 1 of 6httpsedu.docx61617, 129 AMP12.081 GO MultipartPage 1 of 6httpsedu.docx
61617, 129 AMP12.081 GO MultipartPage 1 of 6httpsedu.docx
 
Filter- IIR - Digital signal processing(DSP)
Filter- IIR - Digital signal processing(DSP)Filter- IIR - Digital signal processing(DSP)
Filter- IIR - Digital signal processing(DSP)
 
Algebra 2 unit 9.8
Algebra 2 unit 9.8Algebra 2 unit 9.8
Algebra 2 unit 9.8
 
MATHS LAB MANUAL 22mats11.pdf
MATHS LAB MANUAL 22mats11.pdfMATHS LAB MANUAL 22mats11.pdf
MATHS LAB MANUAL 22mats11.pdf
 
Algebra 2 unit 12.3.12.5
Algebra 2 unit 12.3.12.5Algebra 2 unit 12.3.12.5
Algebra 2 unit 12.3.12.5
 
Reconstruction
ReconstructionReconstruction
Reconstruction
 
Sampling
SamplingSampling
Sampling
 
Chapter 6 Balagurusamy Programming ANSI in c
Chapter 6  Balagurusamy Programming ANSI  in cChapter 6  Balagurusamy Programming ANSI  in c
Chapter 6 Balagurusamy Programming ANSI in c
 
RESPONSE SURFACE METHODOLOGY
RESPONSE SURFACE METHODOLOGYRESPONSE SURFACE METHODOLOGY
RESPONSE SURFACE METHODOLOGY
 
Liouville's theorem and gauss’s mean value theorem.pptx
Liouville's theorem and gauss’s mean value theorem.pptxLiouville's theorem and gauss’s mean value theorem.pptx
Liouville's theorem and gauss’s mean value theorem.pptx
 
Schelkunoff Polynomial Method for Antenna Synthesis
Schelkunoff Polynomial Method for Antenna SynthesisSchelkunoff Polynomial Method for Antenna Synthesis
Schelkunoff Polynomial Method for Antenna Synthesis
 
Signals and Systems Assignment Help
Signals and Systems Assignment HelpSignals and Systems Assignment Help
Signals and Systems Assignment Help
 
Transient three dimensional cfd modelling of ceilng fan
Transient three dimensional cfd modelling of ceilng fanTransient three dimensional cfd modelling of ceilng fan
Transient three dimensional cfd modelling of ceilng fan
 
Power System Modeling and Simulation lab manual
Power System Modeling and Simulation lab manualPower System Modeling and Simulation lab manual
Power System Modeling and Simulation lab manual
 
PGCET Electrical sciences 2017 question paper
PGCET Electrical sciences 2017 question paperPGCET Electrical sciences 2017 question paper
PGCET Electrical sciences 2017 question paper
 
Essentials of Chemical Reaction Engineering 1st Edition Fogler Solutions Manual
Essentials of Chemical Reaction Engineering 1st Edition Fogler Solutions ManualEssentials of Chemical Reaction Engineering 1st Edition Fogler Solutions Manual
Essentials of Chemical Reaction Engineering 1st Edition Fogler Solutions Manual
 
1 ECE 6340 Fall 2013 Homework 8 Assignment.docx
 1 ECE 6340 Fall 2013  Homework 8 Assignment.docx 1 ECE 6340 Fall 2013  Homework 8 Assignment.docx
1 ECE 6340 Fall 2013 Homework 8 Assignment.docx
 
Time response
Time responseTime response
Time response
 
lecture_11-chapter7HydrogenAtom-1new.pdf
lecture_11-chapter7HydrogenAtom-1new.pdflecture_11-chapter7HydrogenAtom-1new.pdf
lecture_11-chapter7HydrogenAtom-1new.pdf
 
Lecture Notes: EEEC4340318 Instrumentation and Control Systems - System Models
Lecture Notes:  EEEC4340318 Instrumentation and Control Systems - System ModelsLecture Notes:  EEEC4340318 Instrumentation and Control Systems - System Models
Lecture Notes: EEEC4340318 Instrumentation and Control Systems - System Models
 

More from COMSATS Abbottabad

More from COMSATS Abbottabad (20)

Kalman filter
Kalman filterKalman filter
Kalman filter
 
Enterpreneurship
EnterpreneurshipEnterpreneurship
Enterpreneurship
 
Sine wave inverter
Sine wave inverterSine wave inverter
Sine wave inverter
 
Light Tracking Solar Panel
Light Tracking Solar PanelLight Tracking Solar Panel
Light Tracking Solar Panel
 
Analysis of Electro-Mechanical System
Analysis of Electro-Mechanical SystemAnalysis of Electro-Mechanical System
Analysis of Electro-Mechanical System
 
coding and burning program in FPGA
coding and burning program in FPGAcoding and burning program in FPGA
coding and burning program in FPGA
 
8 bit full adder
8 bit full adder8 bit full adder
8 bit full adder
 
Fabrication process of Integrated Circuit (IC's)
Fabrication process of Integrated Circuit (IC's)Fabrication process of Integrated Circuit (IC's)
Fabrication process of Integrated Circuit (IC's)
 
IMPLEMENTING ARITHMETIC INSTRUCTIONS IN EMU 8086
IMPLEMENTING ARITHMETIC INSTRUCTIONS IN EMU 8086IMPLEMENTING ARITHMETIC INSTRUCTIONS IN EMU 8086
IMPLEMENTING ARITHMETIC INSTRUCTIONS IN EMU 8086
 
implementation of data instrucions in emu8086
implementation of data instrucions in emu8086implementation of data instrucions in emu8086
implementation of data instrucions in emu8086
 
Addition, subtraction and multiplication in assembly language
Addition, subtraction and multiplication in assembly languageAddition, subtraction and multiplication in assembly language
Addition, subtraction and multiplication in assembly language
 
Mathematical Modelling of Electro-Mechanical System in Matlab
Mathematical Modelling of Electro-Mechanical System in MatlabMathematical Modelling of Electro-Mechanical System in Matlab
Mathematical Modelling of Electro-Mechanical System in Matlab
 
Mathematical Modelling of Electrical/Mechanical modellinng in MATLAB
Mathematical Modelling of Electrical/Mechanical modellinng in MATLABMathematical Modelling of Electrical/Mechanical modellinng in MATLAB
Mathematical Modelling of Electrical/Mechanical modellinng in MATLAB
 
Introduction to MATLAB
Introduction to MATLAB Introduction to MATLAB
Introduction to MATLAB
 
Encoder + decoder
Encoder + decoderEncoder + decoder
Encoder + decoder
 
Principles of Communication
Principles of CommunicationPrinciples of Communication
Principles of Communication
 
Aurduino coding for transformer interfacing
Aurduino coding for transformer interfacingAurduino coding for transformer interfacing
Aurduino coding for transformer interfacing
 
Transformer Interfacing with Laptop
Transformer Interfacing with LaptopTransformer Interfacing with Laptop
Transformer Interfacing with Laptop
 
Temperature control Switch and Display By Led
Temperature control Switch and Display By LedTemperature control Switch and Display By Led
Temperature control Switch and Display By Led
 
stress and strain
stress and strainstress and strain
stress and strain
 

Recently uploaded

VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 

Recently uploaded (20)

(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 

Phase Responce of Pole zero

  • 1. 1 Lab 07: Phase Response of Pole/Zero Submitted By : Syed Abuzar Hussain Shah SP15-BEE-096 Uzair Ahmed SP15-BEE-106 Syed Hasnain Shah SP15-BEE-100 Submitted To: Sir Usman Class: BEE-5A Dated: 11/05/2017
  • 2. 2 Objective: In today’s lab the objective will be to understand the of effect of pole and zeros on frequency phase response using MATLAB. Statement: 1. Take a zero at unit circle using equation 1- . 2. Now take its frequency response using freqz command and analyze the effect phase of the zero. 3. Now change the magnitude and keep on observing the frequency response. 4. Keeping the phase of zero using the equation given on right hand side 𝟏 - 𝒂 : -𝝅 𝜽 . 5. Take the value of a=1 and from – 𝝅 and increase slowly towards 𝝅, accordingly observe the phase response. 6. Now repeat the same steps for the analysis of behavior of a pole. 7. Repeat step 6 for All Zero, All Pole and ARMA Models. 8. Now for FIR model with equation 𝟏 - 𝒂 keeping 𝜽 = 𝟎, and changing the value of a from 0.1 to 10, analyze the effect of phase response using ‘freqz’ command. 9. Repeat step 9 for All Pole and ARMA Models. Procedure: 1. Phase Response for 𝜽 𝟏 𝟎 and a=1 for 𝟏 𝟏 Clc close all clear all th=-pi; a=1; %All zero Model n=[1 -a*exp(i*th)]; d=1; subplot(321) zplane(n,d) [H,w]=freqz(n,d,'whole'); subplot(322) plot((w-pi)./pi,fftshift(abs(H))) xlabel 'omega (x pi)' title('All zero model');
  • 3. 3 %All pole model d=[1 -a*exp(i*th)]; n=1; subplot(323) zplane(n,d) [H,w]=freqz(n,d,'whole'); subplot(324) plot((w-pi)./pi,fftshift(abs(H))) xlabel 'omega (x pi)' title('All pole model'); axis([-2 2 -1 100]) grid on; %ARMA Model n=[1 -a*exp(i*th)]; d=[1 -a*exp(i*th)]; subplot(325) zplane(n,d) [H,w]=freqz(n,d,'whole'); subplot(326) plot((w-pi)./pi,fftshift(abs(H))) xlabel 'omega (x pi)' title('ARMA model'); grid on;
  • 4. 4 2. Phase Response for 𝜽 𝟎 and a=1 for 𝟏 𝟏 clc, clear all, close all; th=0; a=1; %All zero Model n=[1 -a*exp(i*th)]; d=1; subplot(321) zplane(n,d) [H,w]=freqz(n,d,'whole'); subplot(322) plot((w-pi)./pi,fftshift(abs(H))) xlabel 'omega (x pi)' title('All zero model'); grid on %All pole model d=[1 -a*exp(i*th)]; n=1; subplot(323) zplane(n,d) [H,w]=freqz(n,d,'whole'); subplot(324) plot((w-pi)./pi,fftshift(abs(H))) xlabel 'omega (x pi)' title('All pole model'); grid on %ARMA Model n=[1 -a*exp(i*th)]; d=[1 -a*exp(i*th)]; subplot(325) zplane(n,d) [H,w]=freqz(n,d,'whole'); subplot(326) plot((w-pi)./pi,fftshift(abs(H))) xlabel 'omega (x pi)' title('ARMA model'); grid on
  • 5. 5 3. Phase Response for 𝜽 𝟏 𝟎 and a=1 for 𝟏 𝟏 clc, clear all, close all; th=180; a=1; %All zero Model n=[1 -a*exp(i*th)]; d=1; subplot(321) zplane(n,d) [H,w]=freqz(n,d,'whole'); subplot(322) plot((w-pi)./pi,fftshift(abs(H))) xlabel 'omega (x pi)' title('All zero model'); grid on %All pole model d=[1 -a*exp(i*th)]; n=1; subplot(323) zplane(n,d) [H,w]=freqz(n,d,'whole'); subplot(324) plot((w-pi)./pi,fftshift(abs(H)))
  • 6. 6 xlabel 'omega (x pi)' title('All pole model'); grid on %ARMA Model n=[1 -a*exp(i*th)]; d=[1 -a*exp(i*th)]; subplot(325) zplane(n,d) [H,w]=freqz(n,d,'whole'); subplot(326) plot((w-pi)./pi,fftshift(abs(H))) xlabel 'omega (x pi)' title('ARMA model'); grid on 4. Phase Response for 𝜽 𝟎 and a=2 for 𝟏 𝟏 clc, clear all, close all; th=0; a=2; %All zero Model n=[1 -a*exp(i*th)]; d=1; subplot(321)
  • 7. 7 zplane(n,d) [H,w]=freqz(n,d,'whole'); subplot(322) plot((w-pi)./pi,fftshift(abs(H))) xlabel 'omega (x pi)' title('All zero model'); grid on %All pole model d=[1 -a*exp(i*th)]; n=1; subplot(323) zplane(n,d) [H,w]=freqz(n,d,'whole'); subplot(324) plot((w-pi)./pi,fftshift(abs(H))) xlabel 'omega (x pi)' title('All pole model'); %ARMA Model n=[1 -a*exp(i*th)]; d=[1 -a*exp(i*th)]; subplot(325) zplane(n,d) [H,w]=freqz(n,d,'whole'); subplot(326) plot((w-pi)./pi,fftshift(abs(H))) xlabel 'omega (x pi)' title('ARMA model');
  • 8. 8 5. Phase Response for 𝜽 𝟎 and a=0.5 for 𝟏 𝟏 clc, clear all, close all; th=0; a=0.5; %All zero Model n=[1 -a*exp(i*th)]; d=1; subplot(321) zplane(n,d) [H,w]=freqz(n,d,'whole'); subplot(322) plot((w-pi)./pi,fftshift(abs(H))) xlabel 'omega (x pi)' title('All zero model'); grid on %All pole model d=[1 -a*exp(i*th)]; n=1; subplot(323) zplane(n,d) [H,w]=freqz(n,d,'whole'); subplot(324) plot((w-pi)./pi,fftshift(abs(H))) xlabel 'omega (x pi)' title('All pole model'); axis([-2 2 -1 100]) grid on %ARMA Model n=[1 -a*exp(i*th)]; d=[1 -a*exp(i*th)]; subplot(325) zplane(n,d) [H,w]=freqz(n,d,'whole'); subplot(326) plot((w-pi)./pi,fftshift(abs(H))) xlabel 'omega (x pi)' title('ARMA model'); grid on
  • 9. 9 Questions: Q1): Suggest when do you face a linear phase and in which case have you observed a non-linear phase? Ans: Using ‘fvtool(n,d)’ in command window and giving inputs numerator and denominator co-efficients, we observe linear phase in case of all pole model and all zero model only. In ARMA model, non-linear phase is observed. Q2): What is the difference between the phase of All Pole and All Zero Model? Ans: The phase response of pole and zero are 180 degree out of phase.
  • 10. 10 Q3): What is the effect of change of 𝜽 on phase of a pole or zero? Ans: When 𝜽=0 the phase response is straight line. When we change 𝜽=-180 to 𝜽=180 the phase response will flipped. There will be shift of .
  • 11. 11 Q4): What is the effect of change of 𝒂 > 𝟏 on phase of a pole or zero? Ans: When distance of pole or zero is increased from 1, it has no effect on the phase response. Q5): What is the effect of change of 𝒂 < 𝟏 on phase of a pole or zero? Ans: When distance of pole or zero is decreased from unity, the phase response will become 0 at 0 and 180 while it is maximum in middle.
  • 12. 12 Q6): When a=1 what is the effect of phase in case of an ARMA model? Ans: In case of ARMA model Phase response is non-linear because when pole and zero both are combined, they will cancel the effect of each other. Conclusion: In this lab we learnt the phase response of :  All zero model  All pole model  ARMA model  We concluded that phase response is linear in case of All pole and All zero model but it is non linear in ARMA model because when pole and zero both are combined, they will cancel the effect of each other.  Phase response of pole and zero are 180 degree out of phase.  The point where zero lies has minimum intensity.  The point where pole lies has maximum intensity.