How to design an Uncertain State Space block (more) in Simulink with two values varying?

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

 Accepted Answer

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

Categories

Tags

Asked:

on 10 Feb 2014

Answered:

on 15 Feb 2014

Community Treasure Hunt

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

Start Hunting!