Problem 2919. Matlab Basics II - Unit Conversion
Write a function that converts Kg to lbs, returns the answer to the nearest 1/100th of a pound
Solution Stats
Problem Comments
-
5 Comments
Show
2 older comments
Matthew Eicholtz
on 2 Feb 2015
I may be wrong, but I think the test suite is using an incorrect conversion factor.
Guillaume
on 2 Feb 2015
Yes. Obviously, the Yaz pound is slightly different from the imperial pound.
Yaz Majeed
on 2 Feb 2015
My apologies, I copied the conversion factor wrong, it's fixed now!
Mark Posen
on 6 Jun 2021
Test 3/Test 4 are broken (should be a single test but comment has broken it into two).
Dyuman Joshi
on 6 Jun 2021
Broken test case (3/4) are fixed.
Solution Comments
Show commentsProblem Recent Solvers156
Suggested Problems
-
Return a list sorted by number of occurrences
2595 Solvers
-
985 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2136 Solvers
-
Generate N equally spaced intervals between -L and L
841 Solvers
-
Finding an element in a vector
180 Solvers
More from this Author28
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!