RATS command effect: how to explain?

 采纳的回答

rats() gives an output as string. So the ans you gave is a result of substraction of two strings.
rats(0.3)=
' 3/10 '
rats(0.2)=
' 1/5 '

更多回答(1 个)

Igor
Igor 2011-2-11

0 个投票

exactly! and 16=ascii(0)-acsii( )?
thanks

类别

帮助中心File Exchange 中查找有关 Software Development Tools 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by