restrict the tanh(x) function to the intervall [0,1] instead of [-1,1]
3 ビュー (過去 30 日間)
古いコメントを表示
Has anybody a hint how to do that?
Help is greatly appreciated.
0 件のコメント
回答 (1 件)
Walter Roberson
2011 年 11 月 10 日
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.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!