Cody

Problem 1380. Celsius to Kelvin

Solution 2857940

Submitted on 20 Aug 2020 by Siddhi Khasnis
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
x = 100; y_correct = 373.15; assert(isequal(cel2kel(x),y_correct))

373.1500

2   Pass
x = -273.15; y_correct = 0; assert(isequal(cel2kel(x),y_correct))

0

3   Pass
x = 100; y_correct = 373.15; assert(isequal(cel2kel(x),y_correct))

373.1500

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!