How to model secant and cosecant in Simulink

Respuestas (2)

Richard Burnside
Richard Burnside el 19 de Jun. de 2023

0 votos

The commands are sec, asec and sech, asech.

1 comentario

Merve Ala
Merve Ala el 19 de Jun. de 2023
I wrote sec but it gives me sin command and it couldn't find other commands

Iniciar sesión para comentar.

Les Beckham
Les Beckham el 19 de Jun. de 2023

0 votos

If I remember correctly, there is only one "Trigonometric Function" block in Simulink. Just double click the block and change the function from sin to sec.

2 comentarios

Merve Ala
Merve Ala el 19 de Jun. de 2023
It doesn't include sec
Les Beckham
Les Beckham el 19 de Jun. de 2023
Well, then, just use cos and route the result through a Math Function block with the Function set to "reciprocal with Exact method", since the secant is the reciprocal of the cosine.

Iniciar sesión para comentar.

Categorías

Más información sobre Simulink en Centro de ayuda y File Exchange.

Productos

Versión

R2023a

Etiquetas

Preguntada:

el 19 de Jun. de 2023

Comentada:

el 19 de Jun. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by