temperature table matlav code

19 visualizzazioni (ultimi 30 giorni)
Bruno Teramoto
Bruno Teramoto il 26 Set 2019
Risposto: Deia Craig il 26 Set 2019

Risposte (1)

Deia Craig
Deia Craig il 26 Set 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]')

Categorie

Scopri di più su Elementary Math in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by