Given the unsigned 8-bit integer x, return the number y which is the binary inversion of x.
For example if x is 5, y should be 250 because:
5 (8-bit): 00000101
250 (8-bit): 11111010
Find the longest sequence of 1's in a binary sequence.
Set the array elements whose value is 13 to 0
Return area of square
Remove the positive integers.
Create sequnce 1 4 9 16 25.........
Reduce the logic
Count the numbers
How many complete pizzas (number 2)
Connect 4 (the boardgame)
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office