Jump to content

Tanh function in Seeq


Go to solution Solved by Teddy,

Recommended Posts

  • Administrators
  • Solution

Unfortunately, Seeq does not support the hyperbolic tangent function directly. However, it does support the exponential function so re-creating the hyperbolic tangent function is fairly simple.  The formula below can be used to achieve the same result as a tanh or hyperbolic tangent. 

(Constant.E ^ (2*$x )- 1)/(Constant.E ^(2*$x) + 1)

Note: To create and exponent in Seeq (e^x) you need to use Constant.E^x.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...