이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
프로그래밍 및 데이터형을 위한 함수
비트별 연산, 데이터형 연산자와 데이터형 툴, 프로그램 제어를 위한 함수
고정소수점 데이터형을 지원하는 함수를 사용하여, fi
객체에 대해 비트별 조작을 수행하고 fi
객체의 데이터형을 조작하며 알고리즘을 개발할 수 있습니다.
함수
비트별 연산
bitand | Bitwise AND of two fi objects |
bitandreduce | Reduce consecutive slice of bits to one bit by performing
bitwise AND operation |
bitcmp | Bitwise complement of fi object |
bitconcat | Concatenate bits of fi objects |
bitget | Get bits at certain positions |
bitor | Bitwise OR of two fi objects |
bitorreduce | Reduce consecutive slice of bits to one bit by performing
bitwise OR operation |
bitreplicate | Replicate and concatenate bits of fi object |
bitrol | Bitwise rotate left |
bitror | Bitwise rotate right |
bitset | Set bit at specific location |
bitshift | Shift bits specified number of places |
bitsliceget | Get consecutive slice of bits |
bitsll | 비트를 왼쪽으로 논리 시프트 |
bitsra | 비트를 오른쪽으로 산술 시프트 |
bitsrl | 비트를 오른쪽으로 논리 시프트 |
bitxor | Bitwise XOR of two fi objects |
bitxorreduce | Reduce consecutive slice of bits to one bit by performing
bitwise exclusive OR operation |
getlsb | 최하위 비트 |
getmsb | 최상위 비트 |
데이터형 연산자
double | fi 객체의 배정밀도 부동소수점 실제 값 |
single | fi 객체의 단정밀도 부동소수점 실제 값 |
int | fi 객체의 저장된 정수 값 가져오기 |
int8 | fi 객체를 부호 있는 8비트 정수로 변환 |
int16 | fi 객체를 부호 있는 16비트 정수로 변환 |
int32 | fi 객체를 부호 있는 32비트 정수로 변환 |
int64 | fi 객체를 부호 있는 64비트 정수로 변환 |
uint8 | fi 객체를 부호 없는 8비트 정수로 변환 |
uint16 | fi 객체를 부호 없는 16비트 정수로 변환 |
uint32 | fi 객체의 저장된 정수 값을 내장 uint32 형으로 반환 |
uint64 | fi 객체를 부호 없는 64비트 정수로 변환 |
데이터형 툴
cast64BitFiToInt | Cast fi object types that can be exactly represented to a
64-bit integer data type (R2020a 이후) |
cast64BitIntToFi | Cast 64-bit integer types to an equivalent fi object
type (R2020a 이후) |
castFiToInt | Cast fi object to equivalent integer data type (R2020a 이후) |
castFiToMATLAB | Cast fi object type to an equivalent built-in MATLAB data type (R2020a 이후) |
castIntToFi | Cast an integer data type to equivalent fi type (R2020a 이후) |
num2str | 숫자를 문자형 배열로 변환 |
reinterpretcast | 기본 데이터를 변경하지 않고 고정소수점 또는 정수 데이터형 변환 |
rescale | Change scaling of fi object |
storedInteger | fi 객체의 저장된 정수 값 |
storedIntegerToDouble | Convert stored integer value of fi object to built-in double
value |
stripscaling | Stored integer of fi object |
숫자형 값 제한
쿼리 유형 및 값
fixed.extractNumericType | Extract numeric type from input (R2021a 이후) |
isboolean | 입력값이 부울인지 확인 |
isdouble | 입력값이 배정밀도 데이터형인지 확인 |
isfi | 변수가 fi 객체인지 확인 |
isfimath | 변수가 fimath 객체인지 확인 |
isfimathlocal | fi 객체에 로컬 fimath 가 있는지 확인 |
isfipref | 입력값이 fipref 객체인지 확인 |
isfixed | 입력값이 고정소수점 데이터형인지 확인 |
isnumerictype | 입력값이 numerictype 객체인지 확인 |
ispropequal | Determine whether properties of two fi objects are
equal |
isquantizer | 입력값이 quantizer 객체인지 확인 |
isscaleddouble | Determine whether input is scaled double data type |
isscaledtype | Determine whether input is fixed-point or scaled double data type |
isscalingbinarypoint | Determine whether input has binary point scaling |
isscalingslopebias | Determine whether input has nontrivial slope and bias scaling |
isscalingunspecified | Determine whether input has unspecified scaling |
issigned | Determine whether fi object is signed |
issingle | 입력값이 단정밀도 데이터형인지 확인 |
isslopebiasscaled | Determine whether numerictype object has nontrivial slope and
bias scaling |
MATLAB 명령
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)