Given a n-bits number x, what is the sum of x to the binary inverted version of x? (this might be more simple than you think :-) )
n = 8
x = 1 (00000001)
n-bit binary inverted x = 254 (11111110)
then y = 255
Number of toolboxes?
Back to basics 19 - character types
Angle between Two Vectors
Rotate a Matrix by 90 degrees
Basic arrays operations.
Add the odd numbers
How many complete pizzas
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