이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
Logic and Bit Operations
논리 연산 또는 비트 연산 블록(예: Logical Operator 및 Relational Operator)
Logic and Bit Operations 라이브러리의 블록을 사용하여 신호 값의 변화를 감지하고 입력에 대해 논리 연산과 관계 연산을 수행하며 비트를 정수로 변환합니다.
블록
Bit Clear | 저장된 정수의 지정된 비트를 0으로 설정 |
Bit Set | 저장된 정수의 지정된 비트를 1로 설정 |
Bit to Integer Converter | Map vector of bits to corresponding vector of integers |
Bitwise Operator | Specified bitwise operation on inputs |
Combinatorial Logic | Implement truth table |
Compare To Constant | 신호와 지정된 상수를 비교하는 방법 결정 |
Compare To Zero | 신호를 0과 비교하는 방법 결정 |
Detect Change | 신호 값의 변경 감지 |
Detect Decrease | 신호 값의 감소 감지 |
Detect Fall Negative | Detect falling edge when signal value decreases to strictly negative value, and its previous value was nonnegative |
Detect Fall Nonpositive | Detect falling edge when signal value decreases to nonpositive value, and its previous value was strictly positive |
Detect Increase | 신호 값의 감소 감지 |
Detect Rise Nonnegative | Detect rising edge when signal value increases to nonnegative value, and its previous value was strictly negative |
Detect Rise Positive | 신호 값이 순양수 값으로 증가하고 이전 값이 양수가 아닌 경우 상승 에지 감지 |
Extract Bits | Output selection of contiguous bits from input signal |
Float Extract Bits | Extract bits from floating-point input samples (R2023a 이후) |
Integer to Bit Converter | Map vector of integers to vector of bits |
Interval Test | Determine if signal is in specified interval |
Interval Test Dynamic | Determine if signal is in specified interval |
Logical Operator | 입력에 대해 지정된 논리 연산 수행 |
Relational Operator | 입력에 대해 지정된 관계 연산 수행 |
Shift Arithmetic | Shift bits or binary point of signal |