资源简介
利用裴多那挈法搜索函数的极值,能够保证快速收敛到极值点,但这与搜索区间的选择也有很大的关系。
代码片段和文件信息
function [t1t2]=Finbonacci(a0b0f)
%Problem:Using the Finbonacci methodwe need to find the minimun value in
% a closed interval
%Idea:It is extremely convinent for us to settle the problem with the
% Finbonacci theory.
% F(1)=1;F(2)=1;F(n+2)=F(n+1)+F(n);
% if you are interested in more details of Finbonacci theoryplease
% refer to other articles.
%Content and description of each parameters
% a0:Left interval.
% b0:Right interval.
% f=inline(‘t.^2+3*t+1
- 上一篇:matlab的mmap
- 下一篇:用matlab实现细胞计数
评论
共有 条评论