How to compare two hexadecimal number?

14 views (last 30 days)
Balkar Singh
Balkar Singh on 17 Apr 2020
Commented: Balkar Singh on 17 Apr 2020
Operands to the || and && operators must be convertible to logical scalar values.
I got this error when i try to excute the following code
if (dec2hex(watermark(1,i)) ==char('200E') && dec2hex(watermark(1,i+1))

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!