Basic commands - amount of inputs - MATLAB Cody - MATLAB Central

Problem 43147. Basic commands - amount of inputs

Difficulty:Rate

Make a function, which will return amount of given inputs

Example:

 amountinput(1,2,4,3,10) -> 5 , because we gave function 5 inputs

Solution Stats

54.83% Correct | 45.17% Incorrect
Last Solution submitted on May 06, 2025

Problem Comments

Solution Comments

Show comments
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
3

Problem Recent Solvers177

Suggested Problems

More from this Author12

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page