Undefined function 'combntns' for input arguments of type 'double'.
4 次查看(过去 30 天)
显示 更早的评论
Hi all,
i looking any matlab function that can calculate 'combination' such as (3 C 2) =3.
There is a matlab function for (5 C 3)=10, but returns errors as following. Please help me to suggest
combos = combntns(1:5,3)
error:
Undefined function 'combntns' for input arguments of type 'double'.
0 个评论
采纳的回答
Walter Roberson
2021-3-3
https://www.mathworks.com/help/map/ref/combntns.html
the function is part of the Mapping Toolbox. Use nchoosek instead.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio and Video Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!