View Single Post
  #8   Report Post  
Posted to sci.electronics.design,alt.binaries.schematics.electronic,sci.electronics.cad,sci.electronics.basics
Jim Thompson[_3_] Jim Thompson[_3_] is offline
external usenet poster
 
Posts: 2,181
Default Piece Wise Linear Fitting

On Fri, 13 Dec 2013 14:31:22 -0600, "Tim Williams"
wrote:


"Phil Hobbs" wrote in message
om...
On 12/12/2013 10:27 PM, Tim Williams wrote:
Try regular hyperbolae. The derivatives exist... just take care not to
divide by zero (which can happen with tanh too, and probably at analogous
points, for analogous reasons).


Division by zero computing tanh of a real number? That would take talent.
Care to elaborate?


Maybe it was atanh, but it's not the function of a real number, it's the
derivative that causes problems. Certain people here swear by this for
continuous limiter functions in SPICE, but I've found they can go batty
rather often.

Incidentally, The Internet doesn't know that degenerate circuits aren't the
only condition that can create singular matrices.

Tim


All derivatives of TANH exist and don't go "batty". You must be
thinking of some other function.

...Jim Thompson
--
| James E.Thompson | mens |
| Analog Innovations | et |
| Analog/Mixed-Signal ASIC's and Discrete Systems | manus |
| San Tan Valley, AZ 85142 Skype: Contacts Only | |
| Voice480)460-2350 Fax: Available upon request | Brass Rat |
| E-mail Icon at http://www.analog-innovations.com | 1962 |

I love to cook with wine. Sometimes I even put it in the food.