# 在 MATLAB 中创建定点对象

## 函数

 `fi` 构造定点数值对象 `sfi` Construct signed fixed-point numeric object `ufi` Construct unsigned fixed-point numeric object
 `fimath` Set fixed-point math settings `fixed.fimathLike` Return `fimath` object like the input `globalfimath` Configure global fimath and return handle object `removefimath` Remove fimath object from `fi` object `removeglobalfimathpref` Remove global fimath preference `resetglobalfimath` Set global fimath to MATLAB factory default `setfimath` Attach `fimath` object to `fi` object
 `fipref` Set fixed-point preferences `savefipref` Save `fi` preferences for next MATLAB session `isfipref` Determine whether input is `fipref` object
 `lowerbound` `fi` 对象范围的下界 `lsb` `fi` 对象的最低有效位的定标，或 `quantizer` 对象的最低有效位的值 `range` `fi` 或 `quantizer` 对象的数值范围 `upperbound` `fi` 对象范围的上界 `sort` Sort elements of real-valued `fi` object in ascending or descending order
 `fixed.aggregateType` Compute aggregate numerictype `get` Property values of object `isequal` Determine whether real-world values of two `fi` objects are equal, or determine whether properties of two `fimath`, `numerictype`, or `quantizer` objects are equal `isequaln` Determine equality of fixed-point arrays, treating NaN values as equal `reset` 将对象重置为初始条件 `set` Set or display property values for `quantizer` objects `mat2str` 将矩阵转换为字符串 `tostring` Convert `fi`, `fimath`, `numerictype`, or `quantizer` object to string

## 类

 `numerictype` Construct an `embedded.numerictype` object describing fixed-point or floating-point data type

## 疑难解答

Resolve Error: Mismatched fimath

Troubleshoot mismatched `fimath` errors.

Resolve Error: fi*non-fi

Troubleshoot `fi*`non-`fi` errors.

fi Constructor Does Not Follow globalfimath Rules

Troubleshoot getting the `fi` constructor to follow `globalfimath` rules.