MATLAB: Simulink If function to change the out put based on input
simulink
Hello all
I am looking for a simulink function that shall output 1 if the input is positie and output -1 if the input is negative. I believe this i is simple but I have no clue how to do this. Can someone please help me with this?
Best Answer