Thue-Morse: Difference between revisions

Content added Content deleted
(Add MATLAB implementation)
(fix subtitle problem)
Line 1,833: Line 1,833:


=={{header|MATLAB}}==
=={{header|MATLAB}}==
===MATLAB: By counting set ones in binary representation
===MATLAB: By counting set ones in binary representation===
<syntaxhighlight lang="MATLAB">
<syntaxhighlight lang="MATLAB">
tmSequence = thue_morse_digits(20);
tmSequence = thue_morse_digits(20);