Given this input
x = 2, 5, 1, 2, 4, 1, 1, 3
output should be (Five 2's, Two 1's, One 4, Three 1's)
[2 2 2 2 2 1 1 4 1 1 1]
Swap the first and last columns
Replace NaNs with the number that appears to its left in the row.
Swap two numbers
Perfect Square or not
factorial of a number x
Create tangent function out of sin and cos
Freebies anyone? No!!!!
Count me in
Beat the test suite if you can :)
Modified Upper Matrix Mock
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