Computes the condition number of the exp function.
[c,y] = condnb_expcond ( x )
a n-by-m matrix of doubles
a n-by-m matrix of doubles, the condition number
a n-by-m, matrix of doubles, the function values
Computes the condition number of the exp function. The exp function grows so fast that it is equal to %inf whenever x > 800, and is equal to 0 whenever x < -800. This function has a not so bad condition number, since it is never larger than 1.e2.
[c,y] = condnb_expcond ( 1 ) [c,y] = condnb_expcond ( 1.e2 ) condnb_plotcond ( condnb_expcond , linspace(-7e2,7.e2,1000) ); | ![]() | ![]() |