Make a function, which will return amount of given inputs
amountinput(1,2,4,3,10) -> 5 , because we gave function 5 inputs
I had no idea that Cody size was affected by the number of inputs into the function.
"function ans=" is working again? *shrug* OK.
Project Euler: Problem 6, Natural numbers, squares and sums.
Remove NaN ?
Reindex a vector
Replicate elements in vectors
Find the sum of n squares
Basics - not so easy division
Which coins to give
BASICS - sum part of vector
Basic commands - Least common multiple
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