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 Solvers417
Suggested Problems
-
Find the alphabetic word product
2713 Solvers
-
1316 Solvers
-
Number of 1s in the Binary Representation of a Number
386 Solvers
-
Create a cell array out of a struct
985 Solvers
-
Relative ratio of "1" in binary number
801 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!