how to solve equation with a function solution matlab

2 views (last 30 days)
Hello everyone !
i would like to compare between two transfer functions that in one system i change one parameter and i want to know how can i change another parameter and the fuction will remain the same . also adding a picture of my problem thank you
looking for H2new ..
any suggestions?

Answers (1)

Birdman
Birdman on 1 Apr 2020
Try this:
syms s H2new
G1=1/(s-1);
G2=s^2-s;
H1=s^2-1;
H2=-1/s;
G=(G1*G2)/(1+G1*H1+G1*G2*H2);
H1new=s^2+9*s-10;
Gnew=(G1*G2)/(1+G1*H1new+G1*G2*H2new);
H2new=solve(G==Gnew,H2new)

Community Treasure Hunt

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

Start Hunting!