temperature table matlav code

18 次查看(过去 30 天)
Bruno Teramoto
Bruno Teramoto 2019-9-26
回答: Deia Craig 2019-9-26

回答(1 个)

Deia Craig
Deia Craig 2019-9-26
clc
clear
inc = input('Enter the desired increment in degrees C: ');
TC = [0:inc:100]';
TR = (9/5)*TC + 32 + 459.67;
fprintf('\n\nDegrees Celsius Degrees Rankin\n')
fprintf('----------------------------------\n')
fprintf('%8d %21.2f\n',[TC TR]')

类别

Help CenterFile Exchange 中查找有关 Elementary Math 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by