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.93% Correct | 45.07% Incorrect
Last Solution submitted on Oct 05, 2025

Problem Comments

Solution Comments

Show comments
AI Is Transforming Engineering Workflows
It’s an honor to deliver the keynote at MATLAB EXPO 2025. I'll...
0
MATLAB EXPO 2025 Registration is Now Open! November 12 – 13, 2025
Registration is now open for MathWorks annual virtual event MATLAB EXPO 2025...
0

Problem Recent Solvers179

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!