Effacer les filtres
Effacer les filtres

How to model secant and cosecant in Simulink

3 vues (au cours des 30 derniers jours)
Merve Ala
Merve Ala le 19 Juin 2023
Commenté : Les Beckham le 19 Juin 2023
I am searching Secant command in simulink but it gives me Sin command.

Réponses (2)

Richard Burnside
Richard Burnside le 19 Juin 2023
The commands are sec, asec and sech, asech.
  1 commentaire
Merve Ala
Merve Ala le 19 Juin 2023
I wrote sec but it gives me sin command and it couldn't find other commands

Connectez-vous pour commenter.


Les Beckham
Les Beckham le 19 Juin 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 commentaires
Merve Ala
Merve Ala le 19 Juin 2023
It doesn't include sec
Les Beckham
Les Beckham le 19 Juin 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.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange

Tags

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by