How to call VChooseK function?

1 回表示 (過去 30 日間)
Ruini Qu
Ruini Qu 2018 年 11 月 1 日
編集済み: Prateekshya 2024 年 9 月 3 日
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 件のコメント
Matt J
Matt J 2018 年 11 月 1 日
Did you download it to a place where Matlab can see it?

サインインしてコメントする。

回答 (1 件)

Prateekshya
Prateekshya 2024 年 9 月 3 日
編集済み: Prateekshya 2024 年 9 月 3 日
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!

カテゴリ

Help Center および File ExchangeDownloads についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by