How to model "IF ELSE" statement in matlab simulink?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a diode?

629


How to calculate main incomer rating of APFC Panel ? Let's say i want to find main incomer for 11kV, 1000kVAR Panel.

1233


plz tell me,ht and lt panel terminals in substations explain beiefly

2350


In a single how much maximum current and watts using

1650


Dear Brother can u tell the proper size selection of cable & the fault level calculation of braker, busbar etc. pls mail me at azeemk30@gmail.com

1441






Please explain, how to test vector group of tranformer(Delta y1) . Thank

1226


1. What is differential relay? How it operates? 2.How to calculate the Short Circuit Impedance in Transformer? 3.What is the alternate solution for testing of polarity by using polarity tester while its milli ammeter does not works? 4. While testing the 33KV Busbar by using Hipot kit, what should be the test voltage we have to apply? 5. What is the procedure/activities to be taken to inject the current more than 2000A by using 2000A Loading Transformer? 6. Explain how you can give the overload setting to any Motor Protection Relay for a HT motors with formula and example? 7. Why restricted earth fault protection is needed? Why can’t differential Protection is sufficient? 8. What should be the minimum and maximum ohmic value for earthing? 9. Why DC Currents are not used in transformer? 10. What is the Frequency while we step up the voltage from 220V to 11KV? Is it possible? Explain it?

1772


what kind of quetions will ask in BHEL in interview? Plz help me?

1584


what is the synchronous timer ? and it applications.

1906


What are the essential characteristics of signal flow graphs?

667


which pump used in STP

1669


At the starting of dc motor and syn.motor and induction motor high current flowing through the winding. Due to this the windings burnt out. To avoid this different types of starters are used. But incase of transformer what Will be used (At starting no emf is induced in the primary winding)?

1548


What should be the height of basement according to NBCC code?

1725


detailed procedure how we calculate cost for pcc m10 and rcc m20 including centering and labour excluding steel/ iron

2621


what is the transmission loss for electrical supply? specifically a large shopping complex where the grid is half KM away, what will the % of transmission loss? is there any transmission loss for captive unit generation for above set? thanks

1538