How can I convert rational numbers to irrational numbers in $\operatorname{disp}$ in Matlab?
I wrote a method in Matlab to estimate the value using the Newton-Raphson Method but when I use $\operatorname{disp}$ to view the result it appears as [1/3 , 7/9 , 5/2].
I need it to display irrational numbers. How can I do this?