RATS command effect: how to explain?

 Respuesta aceptada

Vieniava
Vieniava el 11 de Feb. de 2011
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 '

Más respuestas (1)

Igor
Igor el 11 de Feb. de 2011

0 votos

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

Categorías

Más información sobre Software Development Tools en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 11 de Feb. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by