Hi i have been doing some numerical modelling and i have found a bug

woith the exponential function. When the sign of the variable changes

the sign in the exponent remains as defined at the begining.

Example run:

x = [-1:.1:1];

y = exp(-x);

figure(1)

plot(x,y)

The exponetial continues to diverge for -x.

Does anyone know of a fix.

Cheers

Craig