fminsearch函数咨询。
Show older comments
X=[1,3,5,10,30,50,80,150,300,500,800,1500];
Y=[0.551,0.548,0.543,0.53,0.508,0.498,0.489,0.471,0.45,0.43,0.411,0.375];
N=length(X);
Y_new=1/(log(exp(1)+(X./a(1)).^a(2))).^a(3);
函数 f=sum((Y-Y_new).^2)/N;
如何利用fminsearch函数对功能函数f进行搜索最小值得到a(1),a(2),a(3),谢谢!
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!