I have to select a formula from a certain value.

I have a condition a=b+c If value of a is less than 0.1 then x formula should be used If value of a is greater than 0.1 and less than 1, then y formula should be used And if value of a is greater than 1, then z formula should be used How can i model this in simulink

 Accepted Answer

  • Evaluate the value of "a" using if condition and write formulas in appropriate loop.
  • If you are a beginner refer here for more details about if, elseif, else statements

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!