Combinations with a condition
古いコメントを表示
I am trying to create a matrix that list all combinations possible under a certain condition. Right now I am creating all combinations and then filtering but the matrix of combination is too large.
I want to keep only when 

Thank you
I am putting an example with smaller vector size
x = [0 0.25 0.5 0.75 1]
x_1 = [0 0.5 1]
x_2 = [0 0.5 1]
4 件のコメント
Torsten
2023 年 2 月 9 日
I don't understand your example.
Les Beckham
2023 年 2 月 9 日
Combinations of what?
Jan
2023 年 2 月 9 日
I don't either. What are the inputs you want to combine?
Nicolas Leport
2023 年 2 月 9 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Multidimensional Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!