Create an algorithm in MATLAB that calculate the combination for the given positive integers n and k as inputs. When k > n, the result is 0. The formula of the combination, for n >= k, can be seen below:
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers66
Suggested Problems
-
Set the array elements whose value is 13 to 0
1445 Solvers
-
Generate N equally spaced intervals between -L and L
952 Solvers
-
369 Solvers
-
608 Solvers
-
515 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!