How to model secant and cosecant in Simulink

12 次查看(过去 30 天)
I am searching Secant command in simulink but it gives me Sin command.

回答(2 个)

Richard Burnside
Richard Burnside 2023-6-19
The commands are sec, asec and sech, asech.

Les Beckham
Les Beckham 2023-6-19
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 个评论
Les Beckham
Les Beckham 2023-6-19
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 General Applications 的更多信息

标签

产品


版本

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by