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
radius of a spherical planet
Test if a Number is a Palindrome without using any String Operations
Project Euler: Problem 3, Largest prime factor
Sum of diagonal of a square matrix
Find the largest value in the 3D matrix
Game of life - 02
Maya - 01
Decimal to binary conversion (without using built-in function)
Sieve of Eratosthenes
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