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.
Remove any row in which a NaN appears
How to find the position of an element in a vector without using the find function
Getting the indices from a matrice
Sum of logarithms
Return the sequence element III
Number construction II
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