MATLAB: How to simplify numerical calculations in symbolic math toolbox

simplifysymbolic math

Hi there,
When I write this:
fR == simplify((Alpha/uR)*((y/uR)^(Alpha-1))*exp(-(uS/y)^k))
I get something like this:
fR =
(12153*exp(-(10/y)^(601/100))*(y/20)^(11153/1000))/20000
Could you tell me please how to simplify the numerical calculations?! I mean I want the term "(11153/1000))/20000" be printed as "0.000557".
Thanks

Best Answer

Use the vpa function. (If you want to solve an equation and avoid fractions, use the vpasolve function.)