How to model secant and cosecant in Simulink
Show older comments
I am searching Secant command in simulink but it gives me Sin command.

Answers (2)
Richard Burnside
on 19 Jun 2023
0 votes
The commands are sec, asec and sech, asech.
1 Comment
Merve Ala
on 19 Jun 2023
Les Beckham
on 19 Jun 2023
0 votes
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 Comments
Merve Ala
on 19 Jun 2023
Les Beckham
on 19 Jun 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.
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!