While the problem description is correct, the title seems misleading to me ("Kelvin" instead of "Celsius")
Good suggestion. I made the change.
The test suite, as it currently is, is asking for the temperature in Celsius. The first problem is Ra = 0; C_correct = -273.15; That's the temperature in C, not K. Ra=0 translates to K=0, as both of those temperatures are absolute zero. (Bonus Pedantic note - It's just Kelvin, not degrees Kelvin.)
Not sure what change was made in 2016, but James is completely correct: the Test Suite is requiring input in degrees Rankine, and output in degrees Celsius. So the title and description should indicate "Rankine to Celsius".
Back to basics 21 - Matrix replicating
Make a random, non-repeating vector.
Basics: 'Find the eigenvalues of given matrix
What is Sum Of all elements of Matrix
Kelvin to Celsius
Joules to Megatons of TnT
Degrees to Radian
MPS to MPH
Radians to Degrees
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office