Hi all,

An approximation to tanh(x) is a continued fraction 

x/1+ (x^2)/3+ (4x^2)/5+ (16x^2)/9+ ...

See attached.

I got it working, but by trial and error needed to scale the
domain by 1/pi and add some weird scale to the range.
I'm confused about where these numbers come from. Can anyone
explain this please?

cheers,

Andy

-- 
Use the source

Attachment: tanh-cfrac.pd
Description: Binary data

_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to