Logo

Education is an admirable thing, but it is well to remember from time to time that nothing that is worth knowing can be taught.

Oscar Wilde

Matlab codes

MATLAB Programs

from Fractal Analysis in the Social Sciences
by Clifford T. Brown and Larry S. Liebovitch
Quantitative Applications in the Social Sciences, Volume 165
SAGE Publications, Newbury Park, CA, 2010

These are the MATLAB programs described in Chapter 2. 
These programs are open source and may be used, or modified, without fees or restrictions.


These programs determine the Probabilty Density Function (PDF) and Cumulative Probability Function (CDF) from an ASCII (text) data file:

For the three programs

  • INPUT FILE: 
      text (ASCII) data file 
      anyname.txt 
      numbers separated by (RETURN)
  • HISTOGRAM PDF OUTPUT FILE: 
      text (ASCII) data file 
      3 columns: bin center (TAB) PDF (TAB) number in bin (RETURN) 
      given the name anynameHISTPDF.txt
  • MULTISCALE PDF OUTPUT FILE: 
      text (ASCII) data file 
      2 columns: bin center (TAB) PDF (RETURN) 
      given the name anynameMULTIPDF.txt
  • RANK CDF OUTPUT FILE: 
      text (ASCII) data file 
      2 columns: value (TAB) RANKCDF (RETURN) 
      given the name anynameCDF.txt
  • Developed by Larry S. Liebovitch Florida Atlantic University 777 Glades Road, Boca Raton, FL 33431 ilbevotif@uae.ud, 561.297.2239. Although these programs have been tested and found to be accurate on a number of different data sets, we do not guarantee that they will be accurate on all data sets. The user assumes any risk involved in the use these programs.