Problem 1390. kmph to mps

Solution 554461

Submitted on 9 Jan 2015 by Gergely Patay
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!