Code covered by the BSD License  

Highlights from
Dynamical Systems with Applications using MATLAB

image thumbnail

Dynamical Systems with Applications using MATLAB

by

Stephen Lynch (view profile)

 

13 Sep 2002 (Updated )

Companion Software.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

Program_5d.m
% Chapter 5 - Fractals and Multifractals.
% Program_5d - The tau curve.
% Copyright Birkhauser 2013. Stephen Lynch.

% Plot a tau curve for a multifractal Cantor set (Figure 5.16a).
ezplot('(log((1/9)^x+(8/9)^x))/(log(3))',[-20,20])
axis([-20 20 -8 20])
fsize=15;
set(gca,'XTick',-20:10:20,'FontSize',fsize)
set(gca,'YTick',-8:4:20,'FontSize',fsize)
xlabel('\itq','FontSize',fsize)
ylabel('\it{\tau(q)}','FontSize',fsize)
title(' ')

% End of Program_5d.


Contact us