Computes the condition number of the cos function.
[c,y] = condnb_coscond ( 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 cos function. The cos function has a large condition number if
[c,y] = condnb_coscond ( 1 ) // ~1 [c,y] = condnb_coscond ( %pi/2 ) // ~10^16 condnb_plotcond ( condnb_coscond , linspace(-4,4,1000) ); | ![]() | ![]() |