Is the '/' character supposed to have two different mappings? As that makes things much more complicated...
Actually it makes impossible to solve for some cases. For instance we can never know if the number 2536 is truly the number 2536 or if it is the word kilo except by the context of some phrase (human comprehension). All solutions use some nongeneral trick to identify such cases.
Longest run of consecutive numbers
Arrange vector in ascending order
Insert zeros into vector
Switch matrix to a column vector
Narcissistic number ?
Find offset of given matrix element from first matrix element
Let's get back to school: create mixed numbered fraction
Create an index-powered vector
Who is the baby and who is the daddy in this family?
Find my birthday
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