필터 지우기
필터 지우기

Mote Carlo Method: Characteristic Function Required

조회 수: 4 (최근 30일)
John
John 2011년 7월 29일
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.

채택된 답변

John
John 2011년 9월 8일
The required function first needs a more comprehensive method of being defined before the process to do so can be discussed here.

추가 답변 (1개)

Walter Roberson
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
John
John 2011년 7월 30일
Yes I realise.
I am trying to use MATLAB to generate a random set of functions that will meet all those conditions. Is MATLAB able to do that?
For more details on the function see (http://www.mathhelpforum.com/math-help/f6/monte-carlos-method-particular-equation-style-required-185291.html#post669552).
Walter Roberson
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 CenterFile Exchange에서 Polynomials에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by