Problem 42321. given number is power of n or not?
Check weather The input is power of n or not? for example
x=8,n=2 --> true x=6,n=2 --> false
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers82
Suggested Problems
-
Vectorize the digits of an Integer
326 Solvers
-
Test if two numbers have the same digits
246 Solvers
-
Sum the numbers on the main diagonal
591 Solvers
-
Sort the vector with the given index
122 Solvers
-
Find out sum and carry of Binary adder
1542 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!