Code covered by the BSD License  

Highlights from
Blancmange-Takagi Function

Be the first to rate this file! 15 Downloads (last 30 days) File Size: 2.27 KB File ID: #41388
image thumbnail

Blancmange-Takagi Function

by

 

Used to plot the Blancmange-Takagi function of order (w) and range (x).

| Watch this File

File Information
Description

Blancmange-Takagi Function.
Used to plot the Blancmange-Takagi function of order (w) and range (x). This function is an example of continuous, yet nowhere differentiable function. Typical values of (w) are in the range (0 to 1), and of x are (1 to 10).

 
[B,s] = blancmange(w,x) plots Blancmange-Takagi function of order (w) and range (x). The output is stored in the 1-D matrix (B) and its size in s.

[B] = blancmange(w,x,step,n) plots Blancmange-Takagi function of (w) and (x), with a specified calculation step over the interval (x) and maximum summation limit (n). When (step and n) are left as blanks, the defaults are (step = 0.005 and n = 100).

Note:
Differentiation of this function returns values of order of steps used in within it, smaller the step values correspond closer to zero differences, yet it will consume more time to run.

Required Products MATLAB
MATLAB release MATLAB 7.8 (R2009a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
10 May 2013 Youssef KHMOU

i would like to know in what field of physics this function is used ?

Contact us