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.
Arrange Vector in descending order
Add two numbers
select the primes of a vector
Matrix of almost all zeros, except for main diagonal
what can you get for exactly amount of money
Basic commands - rounding
BASICS - sum part of vector
Basics - not so easy division
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