Code covered by the BSD License  

Highlights from
Dynamical Systems with Applications using MATLAB

image thumbnail

Dynamical Systems with Applications using MATLAB

by

 

13 Sep 2002 (Updated )

Companion Software.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

Program_5e.m
% Chapter 5 - Fractals and Multifractals.
% Program_5e - A Dq spectrum of dimensions.
% Copyright Birkhauser 2013. Stephen Lynch.

% A Dq curve for a multifractal Cantor set (Figure 5.16(b)).
hold on
ezplot('(log((1/9)^x+(8/9)^x))/(log(3))*(1/(1-x))',[-20,0.99])
ezplot('(log((1/9)^x+(8/9)^x))/(log(3))*(1/(1-x))',[0.99,20])
axis([-20 20 0 2])
fsize=15;
set(gca,'XTick',-20:10:20,'FontSize',fsize)
set(gca,'YTick',0:.4:2,'FontSize',fsize)
xlabel('\itq','FontSize',fsize)
ylabel('\it{D_q}','FontSize',fsize)
title(' ')
hold off

% End of Program_5e.

Contact us