Fitting a polynomial code
조회 수: 2 (최근 30일)
이전 댓글 표시
I have to fit a polynomial
F(t)= 2F[e^(t/tr1) + e^ (-t/tr2)]^-1
where I have to find parameters tr1 and tr2
please help me in buiding code for it
댓글 수: 0
채택된 답변
Walter Roberson
2013년 9월 19일
That is not a polynomial. Polynomials only have their variables as basic terms with non-negative integer powers. If you have e^x where x is one of the variables then the expression is never a polynomial.
You appear to have F on both the left and right. Is that intended to be a recursive definition? If so then is the expression
F(t) = 2 * 1 / F(exp(t/tr1) + exp(-t/tr2))
or is it
F(t) = 2 * F[1 / (exp(t/tr1) + exp(-t/tr2)))
Either one is going to be non-trivial to find the expanded form, and there is a good chance that both tr1 and tr2 found would be complex.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Polynomials에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!