Problem 42262. metre to feet converter

Solution 3451828

Submitted on 28 Oct 2020 at 13:50
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   Fail
x = 3; y_correct = 9.8430; assert(isequal(round(feet_conv(x),4),y_correct))

Assertion failed.

2   Pass
x = 0.2; y_correct = 0.6562; assert(isequal(round(feet_conv(x),4),y_correct))

Suggested Problems

Community Treasure Hunt

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

Start Hunting!