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.
Encode Roman Numerals
Inner product of two vectors
Return elements unique to either input
Number of Even Elements in Fibonacci Sequence
Number construction I
Increasing sub-sequence (Level 1)
Sorting integers by their digits (Level 3)
The glass half full
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