as here we have to compare 1st two bits only, we are taking 1st two bits by a(1:2), means values of a starting from 1st position to 2nd position.
15312 Solvers
Project Euler: Problem 6, Natural numbers, squares and sums.
1021 Solvers
Celsius to Fahrenheit converter
389 Solvers
340 Solvers
498 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!