Main Content

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

고정소수점 수학 함수

고정소수점 데이터형을 지원하는 MATLAB® 함수

고정소수점 행렬과 배열을 생성하고 조작할 수 있습니다. 고정소수점 데이터형을 지원하는 산술 함수와 선형 대수 함수, 삼각 함수, 통계량 함수 및 복소수 수학 함수를 사용할 수 있습니다.

함수

모두 확장

배열 생성

colon, :벡터 생성, 배열 첨자
eyeCreate identity matrix with fixed-point properties
onesCreate array of all ones with fixed-point properties
zeros고정소수점 속성을 갖는 모두 0으로 구성된 배열 생성

배열 및 행렬 조작

horzcatConcatenate multiple fi objects horizontally
sort실수 값 fi 객체의 요소를 오름차순 또는 내림차순으로 정렬
subsasgnSubscripted assignment
subsrefSubscripted reference
vertcatConcatenate fi object arrays vertically

기본 배열 및 행렬 정보

isequivalentDetermine if two numerictype objects have equivalent properties
isfloat입력값이 부동소수점 데이터형인지 확인
maxfi 객체로 구성된 배열의 가장 큰 요소
minfi 객체로 구성된 배열의 가장 작은 요소
numelfi 배열의 데이터 요소 개수

배열 및 행렬 연산자

ctransposefi 객체의 켤레 복소수 전치
minusfi 객체 간의 행렬 차이
mpowerFixed-point matrix power (^)
mrdivide오른쪽 행렬 나누기
mtimesfi 객체의 행렬 곱
plusMatrix sum of fi objects
qrOrthogonal-triangular decomposition
rdivide오른쪽 배열 나누기
shiftdataShift data to operate on specified dimension
sumfi 배열 요소의 합
timesfi 객체의 요소별 곱셈
uminusNegate elements of fi object array
unshiftdataInverse of shiftdata

선형 시스템 솔버 및 행렬 분해

fixed.backwardSubstitute후진 대입을 통해 상부 삼각 연립방정식 풀기 (R2020b 이후)
fixed.forwardSubstitute전진 대입을 통해 하부 삼각 연립방정식 풀기 (R2020b 이후)
fixed.jacobiSVDFixed-point Jacobi singular value decomposition (R2023a 이후)
fixed.qlessQRQ-less QR decomposition (R2020b 이후)
fixed.qlessQRUpdateUpdate QR factorization (R2020b 이후)
fixed.qrABCompute C = Q'B and upper-triangular factor R (R2020b 이후)
fixed.qrMatrixSolveSolve system of linear equations Ax = B for x using QR decomposition (R2020b 이후)
fixed.qlessQRMatrixSolveSolve system of linear equations (A'A)X = B for X using Q-less QR decomposition (R2020b 이후)
fixed.svdFixed-point Golub-Kahan-Reinsch singular value decomposition (R2022b 이후)
svdFixed-point Golub-Kahan-Reinsch singular value decomposition (R2022b 이후)

특수 행렬

toeplitzCreate Toeplitz matrix
cordicsigmoidCORDIC-based approximation of sigmoid activation (R2023b 이후)
absAbsolute value of fi object
complex실수부와 허수부에서 복소수 fi 객체 생성
conjfi 객체의 켤레 복소수
sign배열에 부호 함수(Signum Function) 실행
epsfi 또는 quantizer 객체의 양자화의 상대 정확도
intmaxfi 객체의 numerictype으로 표현 가능한 저장된 최대 양의 정수 값
intminfi 객체의 numerictype으로 표현 가능한 저장된 최소 정수 값
nextpow2Exponent of next higher power of 2 of fi object (R2020a 이후)
pow2Efficient fixed-point multiplication by 2K
powerFixed-point element-wise power
sqrtfi 객체의 제곱근
accumnegSubtract two fi objects or values
accumposAdd two fi objects or values
addfimath 객체를 사용하여 두 개의 fi 객체 더하기
atan2Four-quadrant inverse tangent of fixed-point values
ceilDiv나눗셈 결과를 양수 무한대 방향으로 올림 (R2021a 이후)
convfi 객체의 컨벌루션과 다항식 곱셈
cosfi 객체의 코사인(단위: 라디안)
dividefi 객체 나누기
fixDiv나눗셈 결과를 0 방향으로 반올림 (R2021a 이후)
floorDiv나눗셈 결과를 음수 무한대 방향으로 내림 (R2021a 이후)
mpyfimath 객체를 사용하여 두 객체 곱하기
nearestDiv나눗셈 결과를 가장 가까운 정수 방향으로 반올림 (R2021a 이후)
nnzNumber of nonzero elements in fi object (R2020b 이후)
normalizedReciprocalCompute normalized reciprocal (R2020a 이후)
sin고정소수점 값의 사인
sqrtfi 객체의 제곱근
subfimath 객체를 사용하여 두 개의 fi 객체 간 빼기
binfi 객체의 저장된 정수에 대한 부호 없는 이진수 표현
bin2numquantizer 객체를 사용하여 2의 보수 이진 문자열을 숫자로 변환
decfi 객체의 저장된 정수에 대한 부호 없는 10진수 표현
dec2baseConvert decimal integer to its base-n representation for fi objects (R2021b 이후)
dec2binConvert decimal integer to its binary representation for fi objects (R2021b 이후)
dec2hexConvert decimal integer to its hexadecimal representation for fi objects (R2021b 이후)
hexfi 객체의 저장된 정수에 대한 16진수 표현
hex2numConvert hexadecimal string to number using quantizer object
num2binquantizer 객체를 사용하여 숫자를 이진수 표현으로 변환
num2hexConvert number to hexadecimal equivalent using quantizer object
num2intquantizer 객체를 사용하여 숫자를 부호 있는 정수로 변환
octfi 객체의 저장된 정수에 대한 8진수 표현
sdecfi 객체의 저장된 정수에 대한 부호 있는 10진수 표현
eqDetermine whether real-world values are equal
geDetermine whether real-world value of one array is greater than or equal to another
gtDetermine whether real-world value of one array is greater than another
leDetermine whether real-world value of one array is less than or equal to another
ltDetermine whether real-world value of one array is less than another
neDetermine whether real-world values of two arrays are not equal

반올림 함수

ceil 양수 무한대 방향으로 올림(Rounds toward positive infinity)
convergent가장 가까운 정수로 반올림(반올림 경계에 놓인 숫자면 가장 가까운 짝수로 반올림)
fix0 방향으로 반올림
floor음수 무한대 방향으로 내림(Round Toward Negative Infinity)
nearest가장 가까운 정수로 반올림(반올림 경계에 놓인 숫자는 양수 무한대 방향으로 올림)
roundfi 객체를 가장 가까운 정수로 반올림 또는 quantizer 객체를 사용하여 입력 데이터 반올림

모듈로 함수 및 나머지 함수

modfi 객체 간의 나눗셈의 나머지(Modulus)
modByConstantModulus after division by a constant denominator (R2021a 이후)
errmeanMean of quantization error
errpdfProbability density function of quantization error
errvar양자화 오차의 분산
logreportQuantization report
maxlogLog maximums
minlogLog minimums
noperationsNumber of quantization operations by quantizer object
noverflowsNumber of overflows
nunderflowsNumber of underflows
resetlogClear log for fi or quantizer object
mean고정소수점 배열의 평균 또는 평균값
median고정소수점 배열의 중앙값