plot absolute frequency response

3 views (last 30 days)
arash rad
arash rad on 9 Jun 2021
hi
I have this code
clc
clear all
close all
s = tf('s');
t1 = 1;
pade1 = (1-((s*t1)/2))/(1+((s*t1)/2))
t2 = 0.3;
pade2 = (1-((s*t2)/2))/(1+((s*t2)/2))
t3 = 1.8;
pade3 = (1-((s*t3)/2))/(1+((s*t3)/2))
t4 = 0.35;
pade4 = (1-((s*t4)/2))/(1+((s*t4)/2))
G = [(-21.6*pade1)/(8.5*s+1) (1.26*pade2)/(7.05*s+1);...
(-2.75*pade3)/(8.2*s+1) (-4.28*pade4)/(9.0*s+1)]
G_hat = inv(G)
RGA = (G.*(G_hat)')
and I want to plot a frequency response for RGA(1,1)
and i want to plot absolute magnitude of this tf
can anyone help me
Thank you

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!