Matrice A |
16 2 3 13 5 11 10 8
9 7 6 124 14 15 1 |
Matrice B |
1 2 2 3 1 0 0 3 1 0 0 3 1 2 2 3 |
bitand | AND bit par bit | bitand(a, b) --> 195 --> 11000011 | 11010011 . 11100011 -------------- 11000011 |
bitor | OR bit par bit | bitor(a,b) --> 243 --> 11110011 | 11010011 . 11100011 -------------- 11110011 |
bitxor | XOR bit par bit | bitxor(a,b) --> 48 --> 110000 | 11010011 . 11100011 -------------- 00110000 |
bitcmp | Complément = NOT il faut préciser le type car les zéros de gauche deviennent des uns
|
bitcmp(uint8(a)) --> 44 = 101100 |
11010011 ⇓ 00101100 |
bitcmp(uint16(a)) -> 65324 = 1111111100101100 |
0000000011010011 ⇓ 1111111100101100 |
Check existence of variable, function, folder, or class | |
Detect object of given MATLAB class or Java® class | |
Determine if object has specific application-defined data | |
Determine if input is cell array |
|
Determine if input is cell array of strings |
|
Determine if input is character array |
|
Determine if input is Component Object Model (COM) object |
|
Determine if input is folder |
|
Determine if input is empty array |
|
Determine if arrays are numerically equal |
|
Determine if arrays are numerically equal, treating NaNs as equal |
|
Determine if input is Component Object Model (COM) object event |
|
Determine if input is MATLAB structure array field |
|
Detect finite elements of array |
|
Determine if input is floating-point array |
|
Determine if input is global variable |
|
Detect valid graphics object handles |
|
Determine if graphics hold state is on |
|
Detect infinite elements of array |
|
Determine if input is integer array |
|
Determine if input is Component Object Model (COM) interface |
|
Determine if input is Java object |
|
Determine if input is MATLAB keyword |
|
Detect elements that are alphabetic letters |
|
Determine if input is logical array |
|
Determine if running MATLAB for Macintosh OS X platform |
|
Detect members of specific set |
|
Determine if input is object method |
|
Detect elements of array that are not a number (NaN) |
|
Determine if input is numeric array |
|
Determine if input is MATLAB object |
|
Determine if running MATLAB for PC (Windows®) platform |
|
Detect prime elements of array |
|
Determine if input is object property |
|
Determine if all array elements are real numbers |
|
Determine if input is scalar |
|
Determine if set elements are in sorted order |
|
Detect space characters in array |
|
Determine if input is sparse array |
|
Determine if string is of specified category |
|
Determine if input is MATLAB structure array |
|
Determine if Student Version of MATLAB |
|
Determine if running MATLAB for UNIX platform. |
|
Determine if input is valid variable name |
|
Determine if input is vector |