How to model secant and cosecant in Simulink

Risposte (2)

The commands are sec, asec and sech, asech.

1 Commento

I wrote sec but it gives me sin command and it couldn't find other commands

Accedi per commentare.

Les Beckham
Les Beckham il 19 Giu 2023
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 Commenti

It doesn't include sec
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.

Accedi per commentare.

Categorie

Scopri di più su Simulink in Centro assistenza e File Exchange

Prodotti

Release

R2023a

Tag

Richiesto:

il 19 Giu 2023

Commentato:

il 19 Giu 2023

Community Treasure Hunt

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

Start Hunting!

Translated by