MinkowskiQM.m

Version 1.0.0.0 (327 Bytes) by David Terr
Given x from 0 to 1, compute ?(x), where ? is the Minkowski question mark function.
2.1K Downloads
Updated 1 Jun 2004

No License

Given x from 0 to 1, this program computes ?(x), where ? is the Minkowski question mark function, defined by

?(0)=0, ?(1)=1, and ?((a+b)/(c+d))=
(?(a/c) + ?(b/d))/2, where a/b and c/d are consecutive terms in the Farey sequence. ?(x) is continuous but nowhere differentiable. ?(x) is rational whenever x is rational or a quadratic irrational. If x is rational, the denominator of ?(x) is a power of 2, otherwise it is not.

Cite As

David Terr (2024). MinkowskiQM.m (https://www.mathworks.com/matlabcentral/fileexchange/5031-minkowskiqm-m), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
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!
Version Published Release Notes
1.0.0.0