temperature table matlav code

조회 수: 17 (최근 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