This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
tC = 1;
tK_correct = 274;
assert(isequal(celsius_to_kelvin(tC),tK_correct))
|
2 | Pass |
%%
tC = -273;
tK_correct = 0;
assert(isequal(celsius_to_kelvin(tC),tK_correct))
|
3 | Pass |
%%
tC = 100;
tK_correct = 373;
assert(isequal(celsius_to_kelvin(tC),tK_correct))
|
Remove the two elements next to NaN value
411 Solvers
227 Solvers
530 Solvers
convert matrix to single column
306 Solvers
2334 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!