RATS command effect: how to explain?

 채택된 답변

Vieniava
Vieniava 2011년 2월 11일

0 개 추천

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에 대해 자세히 알아보기

태그

질문:

2011년 2월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by