Question: Can I define a functional relationship with a table or array?

One of the inputs I have to a solar vehicle model is the relationship between current and voltage for the solar panel. This relationship has been measured as 50 ordered pairs of current and voltage. As the model runs over time the value of voltage (and current) will change. Right now I have fit the I vs V data as a 6th order polynomial.

Imod := 0.262e-1*V(t)^6-.2081*V(t)^5+.5488*V(t)^4-.6166*V(t)^3+.3067*V(t)^2-0.718e-1*V(t)+1.4402

Is there an alternative to using the polynomial in Maple? Can the raw data be provided instead and an interpolation done?

Gear_Ratio_Study_.mw

Please Wait...