Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
peak = 5;
duty = 0.6
y_correct = 3;
assert(isequal(your_fcn_name(peak,duty),y_correct))
duty =
0.6000
ans =
3
|
Find the sum of all the numbers of the input vector
31946 Solvers
316 Solvers
965 Solvers
122 Solvers
302 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!