Jeffrey Carter writes: > On 08/05/2010 10:24 AM, Ada novice wrote: >> >> They are much more accurate and better results of course. I wonder why >> Matlab tends to be give very "accurate" answers. Normally 15 digits of >> precision is also used there. > > You requested 15 decimal digits; your results are zero to 15 decimal > places. If you output in non-scientific notation you'd get zero; > presumably that's what Matlab is doing. The attached update uses fixed notation, looks rather better. Note that the reason for the lack of precision in the Test16 results is likely because the inputs are only specified to 6 digits.