-
1 Comment
Harish Maradana
on 25 Aug 2014
function ans = binary_numbers(n)
str2num(dec2bin(0:2^n-1));
end test suit 2 3 fails bit 1 4 5 pass help me
Suggested Problems
-
3410 Solvers
-
Find relatively common elements in matrix rows
2102 Solvers
-
Back to basics 4 - Search Path
372 Solvers
-
424 Solvers
-
525 Solvers
More from this Author96
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!