How to design an Uncertain State Space block (more) in Simulink with two values varying?
2 views (last 30 days)
Show older comments
My transfer function is: g(s)=(5.6±7.1)/((9.3±0.5)*s+1), with the gain (k) and time constant (tau) varying in the expression.
I am struggling to have these varying numbers within my simulation. I have yet to perform any type of linearization or optimization yet in my process control course.
Thank you
0 Comments
Accepted Answer
Arkadiy Turevskiy
on 14 Feb 2014
1.
tau=ureal('tau',9.3);
tau.PlusMinus=[-0.5 0.5];
k=ureal('k',5.6);
k.PlusMinus=[-7.1 7.1];
sys=k*tf(1/tau,[1 1/tau]);
2.
HTH
0 Comments
More Answers (1)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!