This solution is working in MATLAB Command window. so i am confused why it is showing error here??
dec2bin returns a string. This problem is looking for numbers.
i use dec2bin but it shows error pls help me
Note that dec2bin returns a character string, but the test suite asks for numbers.
thank you
2527 Solvers
Back to basics 25 - Valid variable names
295 Solvers
Change the sign of even index entries of the reversed vector
305 Solvers
Magic is simple (for beginners)
2970 Solvers
371 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!