The problem is quite simple : when i try to plot some exponential equation with the rest of the date, it shows and error "Vectors must be the same lengths" and i don't know how to remedy it. The data is: It works fine when i plot polynomial values
plot(T,S,'+', TT,polyval(q,TT)) % statement 1 : works!
but it doesnt work with
plot(T,S,'+', TT,eb*10.^(em*T)) % statement 2 : doesn't work
where
T = 12 22 32 41 49
S = 4 9 12 14 16
TT = % 3701 in length i know the size doesn't match with others,
% but the statement 1 works and 2 doesnt)
q = -0.0047 0.6027 -2.3666
eb = 1.6860
em = 0.0152