An interesting series of sorting problems, ranging from integer to floating point numbers, and from real-valued to complex numbers.
This sort series problem are interesting and also challeging, and for solving this series, regular expression, string, data index and function, etc. all kinds of skill are required. learned a lot, thx!
@Bainhome Absolutely agree!...A very interesting series for both the aficionados and virtuoso. Sure we all had fun. :) Thanks HH.
recently looked back this problem, and studied every code that worth to studied. All code (except mine) are excellent and mind blower, but I enjoyed this one and Liu Peng's the most. Liu's code are more "numericalized", and better fit the idea about "index" title; this one is bit of instructive: definitely enrich my knowledge about "replace" action in regular expression. I'll take a very serious note about this two ideas. THX buddy.
Which doors are open?
Remove the air bubbles
Project Euler: Problem 1, Multiples of 3 and 5
Implement a bubble sort technique and output the number of swaps required
Sum My Indices
Optimally fill a container with elements of different sizes
The sliding puzzle: 15
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office