Question

In: Electrical Engineering

using matlab Show the two formals or figures in time domin and z dominclc clear all...

using matlab

Show the two formals or figures in time domin and z dominclc

clear all

b=[1,-4,5]

a=[1,-6,11,-6]

[R,P,C]=residuez(b,a)

Ez=tf(b,a,1,'variable','z')

zplane(b,a)

Solutions

Expert Solution

Overall Code used including the above given to Represent the Ez in Z and t domain

b=[1,-4,5];
a=[1,-6,11,-6];
[R,P,C]=residuez(b,a);
Ez=tf(b,a,1,'variable','z');
zplane(b,a)
syms z t
s = (z^2 - 4*z + 5)/(z^3 - 6* z^2 + 11 *z - 6);
iztrans(s,t)

This above given code produces the Transfer function in Z domain as

Ez =

z^2 - 4 z + 5
----------------------
z^3 - 6 z^2 + 11 z - 6

Ans there pole zero plot

To convert it into time domain we will use Invert Z Transform using code

syms z t

s = (z^2 - 4*z + 5)/(z^3 - 6* z^2 + 11 *z - 6);

iztrans(s,t)

In Time domain E(t) =

3^t/3 - 2^t/2 - (5*kroneckerDelta(t, 0))/6 + 1

OR

3^t/3 - 2^t/2 - (5*(t))/6 + 1

Working Screenshot


Related Solutions

using matlab Designing a program on ANY fractions Partial Show the two formals or figures in...
using matlab Designing a program on ANY fractions Partial Show the two formals or figures in time domin and z domin
matlab What does the following: Draw two figures (or two pictures) side by side using the...
matlab What does the following: Draw two figures (or two pictures) side by side using the rules of drawing (names for axes, title for drawing etc ...) both in the same frame The first figure shows the exponential function (solid red line) and the natural logarithmic function (black dashed line) on the space [0,10]. The second figure shows the sine (black dotted line) and the cosine function (connected in blue and on it) on the space [0.15].
Using this sample matlab code: clear all; clc A= ????????; B= ????????; AUG=[A B]; for L=1:size(A,2)...
Using this sample matlab code: clear all; clc A= ????????; B= ????????; AUG=[A B]; for L=1:size(A,2) %Pivoting starts for k=L:size(AUG,1) for m=k+1:size(AUG,1) if abs(AUG(k,L))<abs(AUG(m,L)) temp=AUG(m,:); AUG(m,:)=?????????; AUG(k,:)=?????????; end end end %Pivoting ends %Gauss Elimination starts for k=L+1:size(AUG,1) AUG(k,:)= ????????????????????????????; AA=AUG(:,1:size(A,2)) BB=AUG(:,size(A,2)+1:end) end %Gauss Elimination ends end b)Write a MATLAB M-file which performs gauss elimination without pivoting step by step and shows the coefficient matrix in each step. Using cond (X, P) calculate the condition number of the final step coefficient...
Fix the bugs in this matlab program so that it solves. clear clf clc time =...
Fix the bugs in this matlab program so that it solves. clear clf clc time = linspace(0, 5, 100); m = 1; k = 100; c = 1; delta = 0.2; [period, response] = Exmp(m, k, c, delta, time); plot(time, response) grid %Exmp(m, k, c, delta, time) % %________________________________________ function [T, x] = Exmp(m, k, c, delta, t) omega = sqrt(k/m); cC = 2*m*omega; if c>= cC disp('Not an underdamped system') T = 0; x = 0; return; end %...
Show and explain Gauss-Jordan elimination using Matlab.
Show and explain Gauss-Jordan elimination using Matlab.
explain this Matlab code and finish its last line. %% clear all; clc; %% % Données...
explain this Matlab code and finish its last line. %% clear all; clc; %% % Données de départ NbrEchParPer=128*2; NbrPer=16; % Ensuite essayer avec 512 T=1e-3; % calcul préliminaire fs=NbrEchParPer/(T); NbrEch=NbrEchParPer*NbrPer; %Axes des temps et des élongations t=[0:NbrEch-1]./fs; x=repmat([ones(1,NbrEchParPer/2),zeros(1,NbrEchParPer/2)] ,1,NbrPer); %représentation des signaux temporels fig1=figure(1);clf; subplot(4,1,[1 2],'Parent',fig1,'Color',[0 0 0]); hold on; plot(t,x,'.b'); plot(t,x,'-g'); ylim([-1,2]); %% %Calcul de la FFT X=fft(x); %Axe des fréquences df=fs/((NbrEch-mod(NbrEch,2))/2); f=[0:NbrEch-1].*df; %représentation du spectre subplot(4,1,3,'Parent',fig1,'Color',[0 0 0]); hold on; plot(f,abs(X),'m'); subplot(4,1,4,'Parent',fig1,'Color',[0 0 0]); hold on; plot(f,abs(X)XXXXXXXXXXXX,'m');
using matlab can you show me an example of a monte carlo that has two things...
using matlab can you show me an example of a monte carlo that has two things randomizing?
For the answers to this question, round dollar figures to the nearest dollar and show all...
For the answers to this question, round dollar figures to the nearest dollar and show all percents to two decimal points. Set up a skeletal statement using the following figures: Net sales $286,800 Gross margin $145,121 Profit 2.80%
Please Use matlab and show command window. Please go through all steps Using a Dialog button...
Please Use matlab and show command window. Please go through all steps Using a Dialog button with 3 buttons have the user chose one of the 3 anonymous functions below to be used in the later selected three Programmed functions (1) Integral by Trapezoidal Method,(2) Integral by Simpson Method, or (3) Root by BiSection Method.: a. f(x) = 2*x^5 -3*x^2 – 5 b. f(x) = x^2 – 5 c. f(x) = x^(1/2) 2. Using an input statement ask the user...
Suppose z' and K increase at the same time. Show that it is possible for the...
Suppose z' and K increase at the same time. Show that it is possible for the real interest rate to remain constant as a result. What does this say about the model's ability to explain the differences between poor and rich countries and to explain what happens as a country's economy grows?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT