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 7, Nth prime
Duplicate each element of a vector.
Create matrix of replicated elements
Switch matrix to a column vector
Matlab Basics - Assigning Variables
What's size of TV?
BASICS - sum part of vector
cross in array
what can you get for exactly amount of money
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