main.m475 chars12 lines
This script defines an array of celsius temperatures from 0 to 100 in steps of 5. It then converts these temperatures to fahrenheit using the standard formula. A table is created from the two temperature arrays using the "table" function, with "VariableNames" used to specify column headings. The resulting table is then displayed in the MATLAB command window using the "disp" function.
gistlibby LogSnag