I like the way James present a problem: educatiive and interesting.
Return the first and last character of a string
Set a diagonal
Generate a string like abbcccddddeeeee
Fix the last element of a cell array
Create an index-powered vector
A matrix of introverts
Matrix of Multiplication Facts
Still more miles to go before I sleep
Numbered lottery balls into cells
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