how to make combinations of different variables(each having some range) using some conditions?
2 ビュー (過去 30 日間)
古いコメントを表示
Hello MATLAB Experts,
i got stuck at this problem.i have some variables each having a range.For ex. i have variables A with range [30,60], B with range [40,80], C with range [20,30] and D with range [10,40]. now, i want to make combinations of this variables say i want to make 10 different set of combinations(A,B,C,D)(basically 10*4 vector) with certain conditions like value of variable A should be greater than variable B and difference between values of C and D should be 5.
NOTE- i dont want to firstly sample all the 10 sets of combinations and then filter them out using conditions. i want 10 sets of combinations where every combination should satisfy every condition.
please help..
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!