t1 range is 0.1 to 2 and t2 range is 0.1 to 2.....and t1+t2 should not be greater than 2
1 回表示 (過去 30 日間)
古いコメントを表示
t1 range is 0.1 to 2 and t2 range is 0.1 to 2.....and t1+t2 should not be greater than 2
4 件のコメント
採用された回答
その他の回答 (1 件)
Torsten
2018 年 4 月 10 日
Generate a pair of random numbers in the range [0.1:2].
Accept the pair if their sum is less or equal 2.
Repeat until you have generated enough feasible pairs.
Best wishes
Torsten.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!