how to make combinations of different variables(each having some range) using some conditions?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Logical en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!