input could be of any length
in1 = 1
in2 = 2
output = 12
in1 = 2
in2 = 1
in3 = 0
output = 210
Project Euler: Problem 6, Natural numbers, squares and sums.
Whether the input is vector?
Make a run-length companion vector
Sum all integers from 1 to 2^x
Create tangent function out of cosine only
Rotate Matrix Depending on the input
Convert decimal to binary and then generate the minimum binary it can with jumbling
Create tangent function out of sin and cos
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