How to model "IF ELSE" statement in matlab simulink?
Answers were Sorted based on User's Feedback
Answer / kosal ram
use two switches, or u can use the if block in the simulink.
| Is This Answer Correct ? | 9 Yes | 6 No |
Answer / rachit kumar
An optimized solution will depend upon the test condition
of IF-ELSE loop. For example if the condition is relational
then you can use "Relational Operator" Block connected
with "Switch" block. Similarly the blocks can be changed
based on requirement.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / anamika
you can use transition and junction.
at first take condition through first transition and if
this is satisfied then take the action part and if it is
not satisfied then take another transition and then connect
a common transition to tarminate the statement.
| Is This Answer Correct ? | 3 Yes | 3 No |
What is the formula for calculating the Instantaneous Short Circuit & overcurrent for any breaker
1hp= how much rpm
What is the difference between Isolator & Load Break Switch?
What is meant by reset level of the relay?
What are methods to avoid the inrush current at the time of starting of power transformer ?
Let me know that how i calculate the alternator sub tranciant reactance and tranciant reactance.
why motor burns ?
what is meant by VFD ?where its useful ?
in a refinery one motor is suddenly stoped. what will do how can i findout the problem explain step by step
How to check it good or bad capacitor
what is spill current?
which MPU register provides the address from which the next instruction byte is to be fetch?
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)