Calculate Integer Complexity

バージョン 1.0.0.0 (1.61 KB) 作成者: steed huang
This Matlab example M-file is to calculate the Integer Complexity for Number Theory.
ダウンロード: 124
更新 2015/2/22

ライセンスの表示

The complexity of an integer is the least number of 1s needed to represent it using only additions, multiplications, and parentheses. This version 1 program uses the minimum amont of "+", the next release will be minimum amount of "x".

引用

steed huang (2026). Calculate Integer Complexity (https://jp.mathworks.com/matlabcentral/fileexchange/49792-calculate-integer-complexity), MATLAB Central File Exchange. に取得済み.

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

Community Treasure Hunt

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

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