Determine function as output
조회 수: 1 (최근 30일)
이전 댓글 표시
How can i determine if the output is a fraction, it will return true, or else its a false. Are there any specific function?
댓글 수: 1
John D'Errico
2018년 5월 19일
You want to determine if a number is a fraction? EVERY floating point number is SOME fraction. For example, 0.12345235567452?
At the very least, it is
12345235567452/100000000000000
At best, read the help for the function rat.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Discrete Math에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!