I Need HELP in MATLAB Please Any help is appreciated 1I need
I Need HELP in MATLAB. Please Any help is appreciated!
1.I need to construct a population history in a three column data set. As is usual for a time series, the first column will be the time (in months), the second, the population of Field Mice and the second the population of Foxes.Import these data\'s to see the trends. (I attached the data but I haven\'t interpolate the data).
Population Data Column A(month), B(Field Mice), C(Foxes)
3. look at an independent data set (attached data), which has average yearly growing season (non-hibernation) temperature and analyze using statistical tests, whether the peaks in the two populations are related to the weather in an (undefined) way.
Weather
4.Determine the periodicity of the peaks of population of both animals. Analyze the phase, or time lag between the two populations.
HINT : The weather data is NOT on the same time scale as the population data (this data is in quarters or 3 month increments). Interpolate this data to match the time scale of the population data.
Interpolation Formula: y2= [(x2-x1)(y3-y1)/(x3-x1)] + y1
| 1 | 300 | 30 |
| 2 | 400 | 33 |
| 3 | 650 | 32 |
| 4 | 900 | 40 |
| 5 | 2000 | 42 |
| 6 | 2300 | 38 |
| 7 | 2250 | 36 |
| 8 | 2200 | 33 |
| 9 | 1800 | 33 |
| 10 | 1600 | 33 |
| 11 | 1200 | 31 |
| 12 | 1000 | 28 |
| 13 | 1000 | 28 |
| 14 | 1100 | 28 |
| 15 | 1350 | 27 |
| 16 | 1600 | 37 |
| 17 | 2700 | 35 |
| 18 | 3000 | 35 |
| 19 | 2950 | 33 |
| 20 | 2900 | 32 |
| 21 | 2500 | 32 |
| 22 | 2300 | 29 |
| 23 | 1900 | 29 |
| 24 | 1700 | 29 |
| 25 | 1300 | 27 |
| 26 | 1400 | 26 |
| 27 | 1650 | 33 |
| 28 | 1900 | 39 |
| 29 | 3000 | 42 |
| 30 | 3300 | 45 |
| 31 | 3250 | 47 |
| 32 | 3200 | 49 |
| 33 | 2800 | 53 |
| 34 | 2600 | 52 |
| 35 | 2200 | 52 |
| 36 | 2000 | 51 |
| 37 | 1600 | 51 |
| 38 | 1300 | 50 |
| 39 | 1100 | 49 |
| 40 | 900 | 50 |
| 41 | 1000 | 51 |
| 42 | 800 | 53 |
| 43 | 700 | 52 |
| 44 | 650 | 50 |
| 45 | 600 | 49 |
| 46 | 575 | 48 |
| 47 | 550 | 47 |
| 48 | 500 | 46 |
Solution
1= 2
2= 48
3= 30
4= 1

