Cody

Problem 1390. kmph to mps

Solution 468643

Submitted on 10 Jul 2014 by li jian
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
%% assert(isequal(mps(36),10))

y = 10

2   Pass
%% assert(isequal(mps(3.6),1))

y = 1

3   Pass
%% assert(isequal(mps(18),5))

y = 5

Suggested Problems

More from this Author13

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!