개발자 뺚
[Cody] Problem 44944. Convert from Fahrenheit to Celsius 본문
Given an input vector F containing temperature values in Fahrenheit, return an output vector C that contains the values in Celsius using the formula:
C = (F–32) * 5/9
function C = temp_convert(F)
C = (F - 32) * 5 / 9
end
'Solution > MATLAB' 카테고리의 다른 글
[Cody]Problem 44947. Find the Oldest Person in a Room (0) | 2023.08.23 |
---|---|
[Cody] Problem 44951. Verify Law of Large Numbers (11) | 2023.08.23 |
[Cody] Problem 128. Sorted highest to lowest? (0) | 2023.08.22 |
[Cody] Problem 44943. Calculate Amount of Cake Frosting (0) | 2023.08.22 |
[Cody] Problem 106. Weighted average (0) | 2023.08.22 |