% [BestPop,TRACE]=fmaxga(FUN,LB,UB,eranum,popsize,pcross,pmutation)
% Finds a maximum of a function of several variables.
% fmaxga solves problems of the form:
% max F(X) subject to: LB <= X <= UB
% BestPop--------最優的群體即為最優的染色體群
% TRACE----------最佳染色體所對應的目標函數值
% FUN------------目標函數
% LB-------------自變量下限
% UB-------------自變量上限
% eranum---------種群的代數,取100--1000(默認1000)
% popsize--------每一代種群的規模;此可取50--100(默認50)
% pcross---------交叉的概率,此概率一般取0.5--0.85之間較好(默認0.8)
% pmutation------變異的概率,該概率一般取0.05-0.2左右較好(默認0.1)
% options--------1×2矩陣,options(1)=0二進制編碼(默認0),option(1)~=0十進制編碼,option(2)設定求解精度(默認1e-4)
計算廣義分形維數的matlab源程序。希望對大家有用!
函數形式:function [dq,rq]=fdim(q,x,TRACE)
不同q值下得到不同定義的分形維,如:q=0 is Hausdorf, q=1 is Information, q=2 is Correlation, etc.具體說明見程序。
基于"TRACE transform"的識別2D圖像的C++源程序,
主文件是tt.cpp,
在LINUX下可以用
g++ tt.cpp -o tt -O3進行編繹,
而且最后的結果也可以在MATLAB下顯示出來,
This package presents C++ tools to the TRACE transform of a 2D image, and related objects, i.e. circuses and triple features, matlab tools to visualise these entities, and tools to check newly coded functionals. This version is released with a small number of functionals only.