Borrar filtros
Borrar filtros

How do I get the output to be the larger value of two inputs o Simulink

1 visualización (últimos 30 días)
Akash Patel
Akash Patel el 1 de Feb. de 2016
Respondida: Kiran el 8 de Feb. de 2016
So I have two temperatures Th = 300 and Tc=270 I am using simulink. What block can I use to get the to compare Th and Tc to ensure that the larger value of Th and Tc (ie 300) is used?

Respuestas (1)

Kiran
Kiran el 8 de Feb. de 2016
Hi Akash,
You can use the switch block for this purpose. Set the switch criteria according to relation between signals.
Check the attachment for simplified example.

Categorías

Más información sobre Simulation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by