Really simple problem...... IF function????
Really simple problem...... IF function????
(OP)
I cannot believe that there isn't a block for an IF command or a high value wins block. All I want to do is only allow the highest value to pass through to the output i.e.
Input x and y. IF x>y then output is x but if y>x then the output is y.
I have been through the library and can't find anything but surely you must be able to do this using a Simulink block...
Hope someone can help...
Input x and y. IF x>y then output is x but if y>x then the output is y.
I have been through the library and can't find anything but surely you must be able to do this using a Simulink block...
Hope someone can help...





RE: Really simple problem...... IF function????
TTFN
RE: Really simple problem...... IF function????
RE: Really simple problem...... IF function????
For example if your inputs are x and y and you choose >= the block will compare x and y. If x>=y the output will be 1 if x<y the output will be 0.
I hope this helps.
Bye.