temperature table matlav code

19 visualizaciones (últimos 30 días)
Bruno Teramoto
Bruno Teramoto el 26 de Sept. de 2019
Respondida: Deia Craig el 26 de Sept. de 2019

Respuestas (1)

Deia Craig
Deia Craig el 26 de Sept. de 2019
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]')

Categorías

Más información sobre Elementary Math en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by