Problem 160. So many choices
Solution Stats
Problem Comments
-
3 Comments
Sumit Agrawal
on 10 Sep 2013
Why in my pc showing correct but not in this
the cyclist
on 11 Sep 2013
@Sumit, you are probably using a function from a toolbox (e.g. statistics toolbox) that is not available to Cody.
Riccardo Dessì
on 25 Feb 2018
http://onlinestatbook.com/2/probability/permutations.html
Solution Comments
-
1 Comment
alexander
on 8 Mar 2017
The test suite throws errors where but I get correct answers when I run.
function y = fcn(n,k)
y = size(combntns(1:n,k),1);
end
-
1 Comment
Franck Dernoncourt
on 30 Jan 2012
Let me import my Statistics Toolbox!
;)
Problem Recent Solvers429
Suggested Problems
-
1488 Solvers
-
07 - Common functions and indexing 1
408 Solvers
-
648 Solvers
-
Check that number is whole number
3019 Solvers
-
914 Solvers
More from this Author23
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!