temperature table matlav code
조회 수: 17 (최근 30일)
이전 댓글 표시
답변 (1개)
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]')
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
