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
Sort a list of complex numbers based on far they are from the origin.
03 - Matrix Variables 1
03 - Matrix Variables 3
04 - Scalar Equations 2
Swap two numbers
How many complete pizzas
Remove multiples of N
i forgot to use capital I
All odd - all even
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