Unit fraction analysis

バージョン 1.0.0.0 (643 Bytes) 作成者: Daniel
determines how 1/n behaves in base b
ダウンロード: 138
更新 2014/3/6

ライセンスの表示

This little file will tell you after how many decimals will a repeating decimal start to repeat as well as how many digits will repeat.
example : 1/24 = 0.0416666666....

so unit(24,10) will return
Non-terminating
After 3 non-repeating digits, there are 3 repeating digits.

but 1/24 in base 6 = 0.013 so this will return:
Terminating
Terminates after 3 digits.

引用

Daniel (2024). Unit fraction analysis (https://www.mathworks.com/matlabcentral/fileexchange/45771-unit-fraction-analysis), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2012b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersNumbers and Precision についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0