如何用matlab解这个非线性最小二乘问题
f=i-(x(1)+x(2)*lg(t2))/(t1+x(3))^x(4)
i=[2.04,1.61,1.34,1.21,0.98,0.79,0.65;...
2.39,1.88,1.59,1.44,1.15,0.95,0.80;...
2.53,2.03,1.74,1.56,1.26,1.04,0.88;...
2.75,2.18,1.86,1.72,1.37,1.12,0.96;...
3.04,2.42,2.06,1.90,1.53,1.29,1.09]
t1=[5,10,15,20,30,45,60]
t2=[1,2,3,5,10]
我用matlab的lsqnonlin求解,但总是报错,说什么 matrix must be square,不知哪位高手可以帮帮小弟,最好附上程序,万分感谢!