MATLAB does its internal arithmetic in IEEE floating point precision using approximately 16 decimal digits, but the default display is only 5 decimal digits, so do not be too concerned about the digits actually displayed as MATLAB output. The display can be changed from the default display (

>> format long e

>> format compact

>> help format

>> b=12.12345678901234567; >> fprintf('value of b is %1.10e\n',b) value of b is 1.2123456789e+01

>> help fprintf

>> help fprintf

**Email Comments or Questions to
hanson@uic.edu**