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
avg =
3
|
How to find the position of an element in a vector without using the find function
2477 Solvers
895 Solvers
1763 Solvers
725 Solvers
376 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!