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 |
celsiusValue = 1;
fahrValue = 33.8;
assert(isequal(ConvertCelsiusToFahrenheit(celsiusValue),fahrValue))
fahrValue =
33.8000
|
2 | Pass |
celsiusValue = 0;
fahrValue = 32.0;
assert(isequal(ConvertCelsiusToFahrenheit(celsiusValue),fahrValue))
fahrValue =
32
|
3 | Pass |
celsiusValue = 100;
fahrValue = 212;
assert(isequal(ConvertCelsiusToFahrenheit(celsiusValue),fahrValue))
fahrValue =
212
|
4 | Pass |
celsiusValue = -100;
fahrValue = -148;
assert(isequal(ConvertCelsiusToFahrenheit(celsiusValue),fahrValue))
fahrValue =
-148
|
5 | Pass |
celsiusValue = -10;
fahrValue = 14;
assert(isequal(ConvertCelsiusToFahrenheit(celsiusValue),fahrValue))
fahrValue =
14
|
Swap the first and last columns
12413 Solvers
Remove any row in which a NaN appears
6827 Solvers
405 Solvers
Remove the two elements next to NaN value
411 Solvers
664 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!