Undefined function 'combntns' for input arguments of type 'double'.
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Khairul nur
am 3 Mär. 2021
Kommentiert: 超锋 王
am 20 Jul. 2021
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 Kommentare
Akzeptierte Antwort
Walter Roberson
am 3 Mär. 2021
https://www.mathworks.com/help/map/ref/combntns.html
the function is part of the Mapping Toolbox. Use nchoosek instead.
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Audio and Video Data finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!