Calculate Integer Complexity

This Matlab example M-file is to calculate the Integer Complexity for Number Theory.

您现在正在关注此提交

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://ww2.mathworks.cn/matlabcentral/fileexchange/49792-calculate-integer-complexity), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 Numeric Types 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.0.0.0