restrict the tanh(x) function to the intervall [0,1] instead of [-1,1]

Answers (1)

Only by restricting the argument.
If the idea is to have a function that behaves like tanh for positive numbers but is 0 for negative numbers, then use a dirac delta.

Asked:

on 10 Nov 2011

Community Treasure Hunt

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

Start Hunting!