Mote Carlo Method: Characteristic Function Required
4 ビュー (過去 30 日間)
古いコメントを表示
I require MATLAB to generate a random set of functions that will meet all those conditions. Is MATLAB able to do that? The requirements of the function, say f(t) for 0 < t < t_max, is:
- f(0) = 0
- f(t_max) = 0
- Global min >= 0 % all values >0
- f ' (t)_max <= b % known value of b
- f ' (t)_min >= -b
- integral[f(t)] = c % known value of c
I would like MATLAB to generate a function (Fourier series or n-degree polynomial) that meet all those conditions.
If it is too lengthy to explain the process/math involved/MATLAB functions available to do so, I kindly request you point me in the right direction.
0 件のコメント
採用された回答
その他の回答 (1 件)
Walter Roberson
2011 年 7 月 29 日
Depending on the relationships between a, b, and c, a simple 1/2 * c * sin(t*Pi/t_max) might do.
Your last two conditions are, by the way, redundant because of your 5th and 6th conditions.
2 件のコメント
Walter Roberson
2011 年 7 月 30 日
That would have been useful information to have known before I spent time on this.
I am not at the moment convinced that it can be done by a finite polynomial, but I would need to work at it further. The people over on mathhelpforum are probably much better skilled at this kind of work than I am.
参考
カテゴリ
Help Center および File Exchange で Polynomials についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!