I.3 FILES IN MATLAB

% This script M-file will convert Fahrenheit to Celsius. % Tc is the temperature in Celsius and Tf is the temperature in Fahrenheit. Tf = 78.; Tc = (Tf -32.0)*(5/9) % display Celsius Temperature to screen. 3. Save the file as f_to_c.m and run it by either typing ‘f_to_c’ at the command prompt or going to the Run M-file option of the file menu. ................
................