Question: 4. A Matlab program has been written up for you to calculate daily mean solar insolation and it's saved in the file solar_insolation.m. Run it

4. A Matlab program has been written up for you

4. A Matlab program has been written up for you to calculate daily mean solar insolation and it's saved in the file solar_insolation.m. Run it on your computer. (You may simply save the file to your working directory and type solar_insolation at the command prompt of Matlab, or alternatively, you can copy and paste the code piece by piece onto the Matlab Command Window to run it). After running the program, you should see a figure of solar insolation as a function of latitude and month that is the same as I show in class. Study solar_insolation.m carefully. Try to understand how it does the calculation, especially how it constructs the two-dimensional array "insolation" (i.e., solar insolation as a function of latitude and season). Build upon the code and do the following: 4.1 (10 points) Plot solar insolation as a function of time (i.e., 12 months) for latitude 40N, i.e., latitude of NYC. Include both your code and figure in your report. 4. A Matlab program has been written up for you to calculate daily mean solar insolation and it's saved in the file solar_insolation.m. Run it on your computer. (You may simply save the file to your working directory and type solar_insolation at the command prompt of Matlab, or alternatively, you can copy and paste the code piece by piece onto the Matlab Command Window to run it). After running the program, you should see a figure of solar insolation as a function of latitude and month that is the same as I show in class. Study solar_insolation.m carefully. Try to understand how it does the calculation, especially how it constructs the two-dimensional array "insolation" (i.e., solar insolation as a function of latitude and season). Build upon the code and do the following: 4.1 (10 points) Plot solar insolation as a function of time (i.e., 12 months) for latitude 40N, i.e., latitude of NYC. Include both your code and figure in your report

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!