Question: Plot on MATLAB Mean Global Tempearture by Year Outputs for different Climate Models Today, T = 57.3142 Mean Global Temperature (F) UCAPAN seu LAAT LYKIAI
Plot on MATLAB


Mean Global Tempearture by Year Outputs for different Climate Models Today, T = 57.3142 Mean Global Temperature (F) UCAPAN seu LAAT LYKIAI being held aabely bccr cccm III gfal ncar giss average 52 1900 1920 1940 1960 1980 2020 2040 2060 2080 2100 2000 Time (year) today = 2020; %this should be used to store today's year, use this variable in your code %do not hard code this date below. We will test your code by changing this %value and all your calculations and plots should change automatically %time is a year time = [1900; 1901; 1902; 1903; 1904; 1905; 1906;1907; 1908; 1909; 1910; 1911;1912; 1913; 1914; 1915;1916; 1917; %all temperatures are in Kelvin bccr = [285.557007000000;285.409271000000;285.478577000000;285.695801000000;285.724091000000;285.5 cccm = [285.838989000000;285.829224000000;285.890442000000;285.870667000000;285.899872000000;285.9 gfdl = [285.497009000000;285.453217000000;285.436371000000;285.166595000000;285.218750000000;285.3 ncar = [286.242004000000; 286.251801000000;286.152618000000;285.838409000000;285.863220000000;286.0 giss = [286.949005000000; 286.951752000000;286.946503000000;286.787262000000; 286.828033000000;286.8 %TO DO: Solve the problem desct|ribed in the project handout here. %The purpose of this function is to convert temperatures stored in the %temp_in array to other units. % INPUTS %temp_in - an array of temperatures in units Kelvin %flag = a flag is used to determine what unit to convert into; if flag = 1, %temp_in should be converted to Celsius; if flag = 2, temp_in should be %converted fahrenheit %OUTPUTS: %temp_out - an array of temperatures in the units determined by flag function (temp_out] = convertTemps (temp_in, flag) %TO DO: write this function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
