Designing a metlab input

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

Community Treasure Hunt

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

Start Hunting!

Translated by