• 大小: 15.55MB
    文件类型: .zip
    金币: 2
    下载: 1 次
    发布日期: 2023-07-26
  • 语言: Matlab
  • 标签: 分形维数  matlab  

资源简介

此软件用于计算二维图形的分形维数等分形参数,解压把它放入matlab的工具箱文件夹中即可使用。具体使用参考:https://zhuanlan.zhihu.com/p/37419809

资源截图

代码片段和文件信息

% script mfdls1ddemo               
% Lim sup dimension spectrum on 1d measure: demo script 
%
% Inputs: 
%
% Outputs: plot spectra
%
% Christophe Canus 2002
FracLabReleaseHome=getenv(‘FracLabReleaseHome‘);

% load the nikkei ...
nikkei=load([FracLabReleaseHome‘/Data/nikkei225.txt‘]);
% plot nikkei signal
figure(1);
plot(nikkei);

%  “normalize it“ ...
c1d=nikkei/sum(sum(nikkei));
% Lim sup dimension spectrum estimation on 1d measure 
% with ‘sum‘ measure with only one parameter
[alphafdls1d_alpha]=mfdls1d(c1d);
figure(2);
plot(alphafdls1d_alpha‘k‘);
grid on;
box on;
pause;

% Modify some parameters:
n=[0 0];
capa=‘max‘;
epsilon=.1;
B=[1:2:21];
dim=‘box‘;
N=200;

[alphafdls1d_alpha]=mfdls1d(c1dncapaepsilonBdim);
figure(3);
plot(alphafdls1d_alpha‘k‘);
grid on;
box on;
pause;

% synthesize a binomial measure ...
n=16;
p=.2;
mu1d=binom(p‘meas‘n);

% Lim sup dimension spectrum estimation on 1d measure 
% with ‘sum‘ measure with only one parameter
[alphafdls1d_alpha]=mfdls1d(mu1d);
figure(4);
plot(alphafdls1d_alpha‘k‘);
grid on;
box on;
hold on;
pause;

% Funny isn‘t it ? --> modify some parameters to get some better results:
n=[0 0];
capa=‘sum‘;
epsilon=.3;
B=[1:2:21];
dim=‘box‘;
N=200;
[alphafdls1d_alpha]=mfdls1d(mu1dncapaepsilonBdim);
plot(alphafdls1d_alpha‘k‘);

% compare it to the theoretical one
[talphatf_alpha]=binom(p‘spec‘N);
plot(talphatf_alpha‘k+‘);
pause;

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-03-25 19:18  FracLab-2.2-Universal_20170325\
     目录           0  2016-11-10 10:46  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\
     目录           0  2012-11-20 09:40  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\
     目录           0  2012-11-20 09:40  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\
     目录           0  2012-11-20 09:40  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\
     文件       16703  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\alpha.mexglx
     文件       21352  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\alphagifs.mexglx
     文件       11923  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\applylutc.mexglx
     文件      107494  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\bbch.mexglx
     文件       79377  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\binom.mexglx
     文件       71156  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\cantor1d.mexglx
     文件      100800  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\cfg1d.mexglx
     文件       17236  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\cmptinf.mexglx
     文件       17236  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\cmptsup.mexglx
     文件       17194  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\cwt.mexglx
     文件       20809  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\dtmlf.mexglx
     文件       20809  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\dtmll.mexglx
     文件       20809  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\dtmlp.mexglx
     文件       21299  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\DWT1D.mexglx
     文件       21060  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\DWT2D.mexglx
     文件        7270  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\eucdist2.mexglx
     文件      100803  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\fcfg1d.mexglx
     文件       60912  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\fcfl1d.mexglx
     文件      100800  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\fch1d.mexglx
     文件       60912  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\fczq1d.mexglx
     文件      149609  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\fd1d.mexglx
     文件      149609  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\fd2d.mexglx
     文件       21483  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\fif.mexglx
     文件       16715  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\frontiere.mexglx
     文件       12563  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\getDecOscCon.mexglx
     文件       21251  2012-01-04 15:07  FracLab-2.2-Universal_20170325\FracLab-2.2-Universal\FracLab\Binaries\linux32\gifs2wave.mexglx
............此处省略1503个文件信息

评论

共有 条评论