this.p={ m:2,
b:2,
loftPermalink:'',
id:'fks_080067080082080074080094087095085085082071082086082074092',
blogTitle:'转 Matlab利用fminsearch实现参数估计',
blogAbstract:'
fminsearch用来求解多维无约束的非线性优化问题,它的基本形式是:
[X,FVAL,EXITFLAG,OUTPUT] = FMINSEARCH(FUN,X0,OPTIONS)。
例如,
fun=inline(\'100*(x(2)-x(1)^2)^2+(1-x(1))^2\',\'x\');
[sx,sfval,sexit,soutput]=fminsearch(fun,[-1.2,1]);
但是,我们可以稍微对进行一些变换,就可实现利用fminsearch进行参数估计。
例如,原始信号发生器模型为:Z=3*exp(-0.4*x)+12*exp(-3.2*x);
假设有两个参数我们未知,即我们要进行参数估计的模型为
z=a(1)*exp(a(2)*x)+a(3)*exp(a(4)*x);',
blogTag:'',
blogUrl:'blog/static/1334604982010125103010627',
isPublished:1,
istop:false,
type:2,
modifyTime:1317341213511,
publishTime:1267108210627,
permalink:'blog/static/1334604982010125103010627',
commentCount:0,
mainCommentCount:0,
recommendCount:0,
bsrk:-100,
publisherId:0,
recomBlogHome:false,
currentRecomBlog:false,
attachmentsFileIds:[],
vote:{},
groupInfo:{},
friendstatus:'none',
followstatus:'unFollow',
pubSucc:'',
visitorProvince:'',
visitorCity:'',
visitorNewUser:false,
postAddInfo:{},
mset:'000',
mcon:'',
srk:-100,
remindgoodnightblog:false,
isBlackVisitor:false,
isShowYodaoAd:false,
hostIntro:'aaa',
hmcon:'1',
selfRecomBlogCount:'0',
lofter_single:''
}
{list a as x}
{if !!x}
{if x.visitorName==visitor.userName}
{else}
{/if}
{if x.moveFrom=='wap'}
{elseif x.moveFrom=='iphone'}
{elseif x.moveFrom=='android'}
{elseif x.moveFrom=='mobile'}
{/if}
${fn(x.visitorNickname,8)|escape}
{/if}
{/list}
{if !!a}
${fn(a.nickname,8)|escape}
${a.selfIntro|escape}{if great260}${suplement}{/if}
{/if}
{list a as x}
{if !!x}
推荐过这篇日志的人:
{list a as x}
{if !!x}
{if !!b&&b.length>0}
他们还推荐了:
{list b as y}
{if !!y}
{/if}
{list a as x}
{if !!x}
{list a as x}
{if !!x}
{list a as x}
{if !!x}
{list a as x}
{if x_index>4}{break}{/if}
{if !!x}
${fn1(x.title,60)|escape}${fn2(x.publishTime,'yyyy-MM-dd HH:mm:ss')}
{/if}
{/list}
{list a as x}
{if !!x}
{if !!(blogDetail.preBlogPermalink)}
网易新闻
${headlines.title|escape}
{if defined('newslist')&&newslist.length>0}
{list newslist as x}
{if x_index>7}{break}{/if}
被推荐日志
最新日志
该作者的其他文章
博主推荐
随机阅读
首页推荐
{list a as x}
{if !!x}
${x.nickName|escape} 投票给
{var first_option = true;}
{list x.voteDetailList as voteToOption}
{if voteToOption==1}
{if first_option==false},{/if} “${b[voteToOption_index]}”
{/if}
{/list}
{if (x.role!="-1") },“我是${c[x.role]}” {/if}
${fn1(x.voteTime)}
{if x.userName==''}{/if}
{/if}
{/list}