Cody

# Problem 1501. Try 1.5.4: Celsius to Fahrenheit

Solution 398550

Submitted on 7 Feb 2014 by Beam
• Size: 10
• This is the leading solution.
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
%% celsiusValue = 1; fahrValue = 33.8; assert(isequal(ConvertCelsiusToFahrenheit(celsiusValue),fahrValue))

ans = []

2   Pass
%% celsiusValue = 0; fahrValue = 32.0; assert(isequal(ConvertCelsiusToFahrenheit(celsiusValue),fahrValue))

ans = []

3   Pass
%% celsiusValue = 100; fahrValue = 212; assert(isequal(ConvertCelsiusToFahrenheit(celsiusValue),fahrValue))

ans = []

4   Pass
%% celsiusValue = -100; fahrValue = -148; assert(isequal(ConvertCelsiusToFahrenheit(celsiusValue),fahrValue))

ans = []

5   Pass
%% celsiusValue = -10; fahrValue = 14; assert(isequal(ConvertCelsiusToFahrenheit(celsiusValue),fahrValue))

ans = []

### Community Treasure Hunt

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

Start Hunting!