Problem 1390. kmph to mps

Solution 369493

Submitted on 13 Dec 2013 by Zikobrelli
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))

ans = 10

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

ans = 1

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

ans = 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!