Problem 44779. Don't be mean. Be nice!
Solution Stats
Problem Comments
-
1 Comment
li haitao
on 8 Nov 2018
It's very sad that there is no matlab function "npermsk".
Solution Comments
-
3 Comments
li haitao
on 8 Nov 2018
Not work for R is long, and k is small.
For example, R = 1:100, k = 2.
Binbin Qi
on 8 Nov 2018
@li haitao, the max digital is 9. If length of R great than 10, it is another problem. I think you can submit a problem like this but larger R.
li haitao
on 8 Nov 2018
@ Binbin Qi, You're right.
Problem Recent Solvers24
Suggested Problems
-
Swap the first and last columns
15670 Solvers
-
Project Euler: Problem 3, Largest prime factor
917 Solvers
-
Back to basics 12 - Input Arguments
549 Solvers
-
842 Solvers
-
Moving average (variable kernel length)
110 Solvers
More from this Author80
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!