File Exchange

image thumbnail

Blancmange-Takagi Function

version 1.0.0.0 (2.27 KB) by Ahmed A. Selman
Used to plot the Blancmange-Takagi function of order (w) and range (x).

1 Download

Updated 19 Apr 2013

View License

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.

Cite As

Ahmed A. Selman (2020). Blancmange-Takagi Function (https://www.mathworks.com/matlabcentral/fileexchange/41388-blancmange-takagi-function), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Matthew Goldberg

Youssef Khmou

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

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!