here,y(1) is the minimum of x,
y(2) is the maximum of x,
y(3) is the 2nd minimum .. this way continue.
x can be an array or a matrix.
y is a row matrix.
Return the Fibonacci Sequence
Generate a vector like 1,2,2,3,3,3,4,4,4,4
Find a Pythagorean triple
Summing Rows and Columns
Don't be Greedy!
The Tortoise and the Hare - 01
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