How to model secant and cosecant in Simulink

조회 수: 4 (최근 30일)
Merve Ala
Merve Ala 2023년 6월 19일
댓글: Les Beckham 2023년 6월 19일
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.
  댓글 수: 1
Merve Ala
Merve Ala 2023년 6월 19일
I wrote sec but it gives me sin command and it couldn't find other commands

댓글을 달려면 로그인하십시오.


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
Merve Ala
Merve Ala 2023년 6월 19일
It doesn't include sec
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