Input as the hexadecimal number
Ältere Kommentare anzeigen
Is it possible to enter directly the hexadecimal number without the conversion to decimal number and perform all the hexadecimal operation like AND,OR, XOR?
For example a = 0x53656174 , b = 0x454B5350
c = bitand(a,b)
how to represent the hexadecimal number in matlab?
Akzeptierte Antwort
Weitere Antworten (1)
Since R2019b it is possible to directly enter literal hexadecimal and binary numeric values:
0x2A
0b101010
Kategorien
Mehr zu Data Type Conversion finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!