Design a MATLAB program that reads an input temperature in degrees Fahrenheit, coverts it to an absolute temperature in kelvin, and writes out the result.
T(kelvin)=[5-9*T(Fahrenheit)-32.0]+273.15
1.Prompt the user to enter an input temp in degrees F 2.Read the input temp 3.calculate the temp in kelvin from the above question 4.write out the result

回答 (1 件)

Star Strider
Star Strider 2018 年 2 月 17 日

0 投票

I would begin by using the inputdlg (link) function.

カテゴリ

ヘルプ センター および File Exchange で Simulink についてさらに検索

質問済み:

2018 年 2 月 17 日

回答済み:

2018 年 2 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by