필터 지우기
필터 지우기

Converting Polyfit exponents to a power of e

조회 수: 1 (최근 30일)
Jerry Walker
Jerry Walker 2011년 9월 17일
I have used polyfit to convert a raw data file of current and voltage for a diode to an equation for current = f(voltage) and plotted the equation with a very good fit of a plot of the raw data. I would like to convert the polyfit exponents to a power of e or exp(power). I have looked at MATLAB help for taylor or maclaurin and other related functions with no corelation on my part. Is there something in the tool boxes that will do this conversion?

답변 (1개)

Walter Roberson
Walter Roberson 2011년 9월 18일
I am not clear as to what you are trying to do. Suppose the polynomial was (say) x^3 - x^2 + x + 1, then what output would you expect, or at least what form of output?
Are you trying to convert a polynomial to a single exponential that is itself in polynomial form? If so then you could do a series expansion of the ln() of the polynomial. That will, however, suffer from the usual problems of series expansion: increasing inaccuracy as you get further from the point of expansion. You would need to decide what your target range was and what your target error limit was over that range, in order to figure out how many terms you needed.

카테고리

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