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
-
Find the peak 3n+1 sequence value
1833 Solvers
-
Project Euler: Problem 10, Sum of Primes
1327 Solvers
-
825 Solvers
-
Change the sign of even index entries of the reversed vector
436 Solvers
-
Sum of odd numbers in a matrix
448 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!