필터 지우기
필터 지우기

RATS command effect: how to explain?

조회 수: 2 (최근 30일)
Igor
Igor 2011년 2월 11일
>> rats(0.3)-rats(0.2)
ans =
0 0 0 0 0 0 2 0 -4 16 0 0 0 0

채택된 답변

Vieniava
Vieniava 2011년 2월 11일
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일
exactly! and 16=ascii(0)-acsii( )?
thanks

카테고리

Help CenterFile Exchange에서 MATLAB Parallel Server에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by