How to call VChooseK function?

I tried to use vchoosek(v, k). But get the error message saying "undefined function or variable". Can anybody tell me how to call this function correctly? Thank you!

1 Commento

Matt J
Matt J il 1 Nov 2018
Did you download it to a place where Matlab can see it?

Accedi per commentare.

Risposte (1)

Prateekshya
Prateekshya il 3 Set 2024
Modificato: Prateekshya il 3 Set 2024

0 voti

Hello Ruini,
You need to download vchoosek which can be found in MATLAB Central's File Exchange and then add it to MATLAB's path. Please follow this link to download:
Alternatively, you can explore and use MATLAB's built-in nchoosek function for similar functionality. Please follow the below link to know more about the same:
I hope it helps!

Categorie

Tag

Richiesto:

il 1 Nov 2018

Modificato:

il 3 Set 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by