temperature table matlav code

Antworten (1)

Deia Craig
Deia Craig am 26 Sep. 2019

0 Stimmen

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]')

Kategorien

Mehr zu Elementary Math finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 26 Sep. 2019

Beantwortet:

am 26 Sep. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by