Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
tt=18; rate1=3; rate2=2;
y_correct =[12,4,2];
assert(isequal(rocketburntime(tt,rate1,rate2),y_correct))
|
2 | Pass |
tt=32; rate1=4; rate2=3;
y_correct =[24,6,2];
assert(isequal(rocketburntime(tt,rate1,rate2),y_correct))
|
3 | Pass |
tt=58; rate1=6; rate2=4;
y_correct =[48,8,2];
assert(isequal(rocketburntime(tt,rate1,rate2),y_correct))
|
1600 Solvers
261 Solvers
Flip the main diagonal of a matrix
506 Solvers
Compute a dot product of two vectors x and y
750 Solvers
205 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!