Effacer les filtres
Effacer les filtres

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

3 vues (au cours des 30 derniers jours)
Léon
Léon le 10 Nov 2011
Has anybody a hint how to do that?
Help is greatly appreciated.

Réponses (1)

Walter Roberson
Walter Roberson le 10 Nov 2011
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.

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by