Write a function in matlab to convert Celsius to Rankine All

Write a function in matlab to convert Celsius to Rankine. Allow the user to enter the starting temperature and increment between lines. Print 25 lines in the table. rankie = 9 5 (celcius + 273.15)

Solution


Celsius=input(\'Enter the starting temperature :\');
increment=input(\'Enter increment between lines:\');

for d=1:25
  
rankine(d) = 9.5*(Celsius + 273.15);
Celsius=Celsius+increment;
  

end

rankine %for printing result

Write a function in matlab to convert Celsius to Rankine. Allow the user to enter the starting temperature and increment between lines. Print 25 lines in the ta

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site