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.
Numbers with prime factors 2, 3 and 5.
Matrix indexing with two vectors of indices
Return 'on' or 'off'
Sum of odd numbers in a matrix
The glass half full
Regular polygon bounded by and bounding a circle
Increasing sub-sequence (Level 1)
The sliding puzzle: 3D
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