Main Content

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

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

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

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

함수

모두 확장

fi고정소수점 숫자형 객체 생성
fimathSet fixed-point math settings
fixed.fimathLikeReturn fimath object like the input (R2022b 이후)
globalfimathConfigure global fimath and return handle object
removefimathRemove fimath 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
isfipref입력값이 fipref 객체인지 확인
lowerboundfi 객체 범위의 하한
lsbScaling of least significant bit of fi object, or value of least significant bit of quantizer object
rangefi 또는 quantizer 객체의 수치 범위
upperboundfi 객체 범위의 상한
sort실수 값 fi 객체의 요소를 오름차순 또는 내림차순으로 정렬
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 (R2021a 이후)
reset객체를 초기 조건으로 재설정
setquantizer 객체의 속성값 설정 또는 표시
mat2str행렬을 문자열로 변환
tostringfi, fimath, numerictype 또는 quantizer 객체를 문자열로 변환

클래스

numerictype고정소수점 또는 부동소수점 데이터형을 나타내는 embedded.numerictype 객체 생성

도움말 항목

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

고정소수점 수학 연산 설정

고정소수점 기본 설정

숫자형 정보

응용 사례

문제 해결

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.