How to model secant and cosecant in Simulink
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am searching Secant command in simulink but it gives me Sin command.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1414539/image.png)
0 commentaires
Réponses (2)
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
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.
Voir également
Catégories
En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!