On 7/24/2009 9:32:10 AM, rosenm wrote:
>Hello colleagues, how to
>realize in Mathcad block RELAY
>from Simulink:
"The Relay
>block allows its output to
>switch between two specified
>values. When the relay is on,
>it remains on until the input
>drops below the value of the
>Switch off point parameter.
>When the relay is off, it
>remains off until the input
>exceeds the value of the
>Switch on point
>parameter"
http://www.mathwor>ks.com/access/helpdesk/help/to
>olbox/simulink/index.html?/acc
>ess/helpdesk/help/toolbox/simu
>link/&http://www.mathworks.com
>/access/helpdesk/help/helpdesk
>.html
Wouldn't an IF statement work?
if(in>=threshold,"on","off")
TTFN,
Eden