Please take a minute to review and accept our Terms of Use.
Welcome to the PLECS User Forum, where you can ask questions and receive answers from other members of the community.

Many technical questions regarding PLECS are answered on the Technical Solutions page of our website. Tutorial videos, specific application examples, and pre-recorded webinars are available on our YouTube page. Please follow us on LinkedIn for the latest Plexim news.

What can I use to represent a reciprocal in math function?

0 votes
683 views
I need a reciprocal under math function block.
After selecting the math function block in plecs library, there is no function for reciprocal.
The functions under the math function are square,square root,exponential, logarithm,power,mod,rem.
Please what can I use to represent a reciprocal?
asked Feb 11, 2023 by Awesome (30 points)

1 Answer

0 votes
You can use a "Divide" block or a "Function" block from the Functions & Tables section of the PLECS library with the 1/u expression.

Be careful not to divide by zero by either sanitizing the input or using the min/max functions in your expression.
answered Feb 15, 2023 by Bryan Lieblick (2,045 points)
...