Hi, there.. I'm solving simple ecuation in matlab but when i run the programe the answer is displaying in fractional numbers. How can I change it to display decimal number?
No products are associated with this question.
It looks to me like you have calculated values using the symbolic toolbox. To display those values in floating point, use double() on them. For example,
(If we had known you were using the symbolic toolbox we could have answered much earlier.)
If you want to display decimal ( floating point) numbers try :
>>format long % or format short
If you want fractional display try :
and try :