Loren on the Art of MATLAB

Turn ideas into MATLAB

Note

Loren on the Art of MATLAB has been archived and will not be updated.

Mathematics and Humanities: Understanding Sort Algorithms

Steve recently mentioned a video showing how the quiksort algorithm works, including an explanation from Bobby regarding the need for the final seconds to be sure that NaN values are sorted correctly.

Contents

Visualizing Quiksort

With much amusement, many of us from MathWorks recently viewed this video depicting the quiksort algorithm in dance. I don't think you'll see a MATLAB animation quite like this!

Visualizing Other Sort Algorithms

If you are interested in similar visual depictions of other sorting algorithms, check out this link.

A Place Where Math Meets the Humanities

In addition to these animations showing off mathematical algorithms, I have also enjoyed listening to and trying my hand at change ringing. I find similar points of intersection between my love of math and my interest in other art forms as well. Also check out the 17 regular tilings of the plane.

Do you have similar links between some interesting math and art? Let me know here.




Published with MATLAB® 7.14


  • print

Comments

To leave a comment, please click here to sign in to your MathWorks Account or create a new one.