Problem 60436. switch base
Input an integer, switch its base. Input is a string, so is output.
Solution Stats
Problem Comments
-
5 Comments
Show
2 older comments
William
on 5 Jun 2024
Also, the assert statements need to have an argument of type 'logical', such as assert(a == b) or assert(isequal(a,b)) or assert(strcmp(a,b)). The statement 'assert(a,b)' won't work.
Dyuman Joshi
on 9 Jun 2024
Thank you for your comments - Chris, Christian and William.
The test suite has been update to resolve the issues. This problem can now be attempted.
Christian Schröder
on 9 Jun 2024
Thanks, Dyuman!
Solution Comments
Show commentsProblem Recent Solvers6
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6361 Solvers
-
Back to basics 2 - Function Path
182 Solvers
-
Back to basics 6 - Column Vector
1075 Solvers
-
Sum the entries of each column of a matrix which satisfy a logical condition.
163 Solvers
-
Determine the number of odd integers in a vector
755 Solvers
More from this Author12
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!