input could be of any length
in1 = 1
in2 = 2
output = 12
in1 = 2
in2 = 1
in3 = 0
output = 210
Swap the first and last columns
Project Euler: Problem 6, Natural numbers, squares and sums.
Create a square matrix of multiples
Duplicate a character
Add a row of zeros on top of a matrix
Rotate matrix by -90 degrees
Modified run-length companion vector
Creating a code via test suite :)
Maximum sum from any 2 numbers with a variable number of inputs
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