Determine if x (positive integer) is a power of n, return true or false accordingly.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers113
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2084 Solvers
-
Change the sign of even index entries of the reversed vector
665 Solvers
-
331 Solvers
-
425 Solvers
-
Test Problem; Create a 5x5 array containing all ones
406 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!