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.
What is the fun in solving a problem this way..i saw u submitting this in every problem..its disgusting
Implement a ROT13 cipher
Find best domino orientation
Permute diagonal and antidiagonal
Yoonir - 03
Summing Rows and Columns
Ugly numbers - 03
Rotate a matrix without using rot90
Fault in our Stars - 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