Result in matrix is not divided

I have a problem. I noticed that matlab after adding variable s in my code not divide expressions. So I get expressions as 54646464/454646464.

回答(1 个)

It sounds like you have set your format to rat. Please read the documentation concerning format. To see you current display format:
get(0,'Format')
If you get rat, that might explain why your values are displayed like that.

类别

在 帮助中心 和 File Exchange 中查找有关 Discrete Math 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by