1.

What is the function of the following block?(a) Gives a 1 if the input is negative(b) Gives a 0 if input is negative(c) Gives a 1 if input is positive(d) Gives a 0 if input is positiveThe question was posed to me in unit test.My question comes from Simulation in division SIMULINK and GUIs of MATLAB

Answer»

The correct answer is (C) Gives a 1 if input is positive

The BEST I can explain: The above BLOCK gives a 1 if the input is positive and a -1 if the input is negative.



Discussion

No Comment Found

Related InterviewSolutions