how to solve equation with a function solution matlab
2 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Birdman
2020-4-1
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)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Power and Energy Systems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!