Hey,

how to make the output of this function $\displaystyle res=|F_{real}(s)-F_{nominal}(s)|$ boolean to describe these conditions?

$\displaystyle switch(s)=1 \Leftrightarrow |F_{real}(s)-F_{nominal}(s)| =0$

$\displaystyle switch(s)=0 \Leftrightarrow |F_{real}(s)-F_{nominal}(s)| \neq 0$

I need it for mathematical description of the switching system:

$\displaystyle F_{real}(s)=F_{real1}(s).switch(s) + F_{real2}(s).NOR(switch(s))$

I don't even know if I can mix it up this way.

($\displaystyle F$ are closed-loop transfer functions.)

Thank you

Liptak