Nice set of problems, Ramon. I particularly like the red herring in this one's test suite.
Thanks Chris... :)
Get the elements of diagonal and antidiagonal for any m-by-n matrix
Create a vector whose elements depend on the previous element
Unique values without using UNIQUE function
find radius of cone
Easy Sequences 12: 50th Prime
Easy Sequences 21: Combinatorial Summations
Easy Sequences 10: Sum of Cumsums of Fibonacci Sequence
Easy Sequences 28: Sum of Radicals of Integers
Easy Sequences 23: Hat Guessing Game!
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