MATLAB: Symbolic Toolbox Stuck in Decimal Format

mathsymsymbolicSymbolic Math Toolboxsympref

Best Answer

Your "sympref" settings must have been changed. Restore them to the default with the following:
>> sympref('default');
Now you should get:
>> phi = (1 + sqrt(sym(5)))/2
phi =
5^(1/2)/2 + 1/2