Tuesday, 27 August 2013

matlab program to create an temparature convertion function

%displays an temparature table of both farhenheit and celcius

function temp=temptable(str,en)
c=(str:en);
f=(9/5)*c+32;

temp=[c' f'];


No comments:

Post a Comment