MATLAB: Is there an extra ‘-‘ in one of the examples for the TITLE function in the MATLAB 7.1 (R14SP3) documentation

MATLAB

The examples in the documentation for the TITLE function appears to have an extra "-" for calcualting the variable "c":
f = 70;
c = (f--32)/1.8;
title(['Temperature is ',num2str(c),'C'])

Best Answer

This bug has been fixed in Release 2006b (R2006b). For previous product releases, read below for any possible workarounds:
There is an error in the documentation for the TITLE function in MATLAB 7.1 (R14SP3). The documentation example should read as follows:
f = 70;
c = (f-32)/1.8;
title(['Temperature is ',num2str(c),'C'])