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
|
Flip the main diagonal of a matrix
506 Solvers
Generate a vector like 1,2,2,3,3,3,4,4,4,4
3621 Solvers
Switch matrix to a column vector
260 Solvers
204 Solvers
266 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!