Main Content

이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

MATLAB에서 고정소수점 객체 만들기

고정소수점 데이터 생성을 위한 finumerictype

Fixed-Point Designer™ fi 객체를 사용하여 고정소수점 데이터를 생성할 수 있습니다. fi 생성자 내에서 numerictype 속성과 fimath 속성을 지정할 수 있습니다. fi 객체마다 연관된 numerictype 객체가 있습니다. numerictype 객체는 워드 길이, 소수부 길이, 부호의 유무 등 fi 객체에 대한 정보를 저장합니다. numerictype 객체는 Simulink®fixdt 객체와 동등합니다.

함수

모두 확장

fiConstruct fixed-point numeric object
sfi(Not recommended) Construct signed fixed-point numeric object
ufi(Not recommended) Construct unsigned fixed-point numeric object
fimathSet fixed-point math settings
fixed.fimathLikeReturn fimath object like the input
globalfimathConfigure global fimath and return handle object
removefimathRemove fimath object from fi object
removeglobalfimathprefRemove global fimath preference
resetglobalfimathSet global fimath to MATLAB factory default
setfimathAttach fimath object to fi object
fiprefSet fixed-point preferences
savefiprefSave fi preferences for next MATLAB session
isfiprefDetermine whether input is fipref object
lowerboundfi 객체 범위의 하한
lsbScaling of least significant bit of fi object, or value of least significant bit of quantizer object
rangeNumerical range of fi or quantizer object
upperboundfi 객체 범위의 상한
sortSort elements of real-valued fi object in ascending or descending order
fixed.aggregateTypeCompute aggregate numerictype
getProperty values of object
isequalDetermine whether real-world values of two fi objects are equal, or determine whether properties of two fimath, numerictype, or quantizer objects are equal
isequalnDetermine equality of fixed-point arrays, treating NaN values as equal
resetReset objects to initial conditions
setSet or display property values for quantizer objects
mat2str행렬을 문자열로 변환
tostringConvert fi, fimath, numerictype, or quantizer object to string

클래스

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

도움말 항목

고정소수점 숫자형 객체 생성

고정소수점 수학 연산 설정

고정소수점 기본 설정

숫자형 정보

응용 사례

문제 해결

Resolve Error: Mismatched fimath

Troubleshoot mismatched fimath errors.

Resolve Error: Data Type Mismatch

Troubleshoot data type mismatch 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.