Using matlab code for below problem Growth data of a sunflow

Using matlab code for below problem Growth data of a sunflower plant is given in the following table: The data can be modeled with a function in the form H = C/(1 +Ae^-ar) (logistic equation), where H is the height, C is a maximum value for H, A and B are constants, and/is the number of weeks. By using the method described in Section 8.2.2, and assuming that C = 254 cm, determine the constants A and B such that the function best fit the data. Use the function to estimate the height in week 6. In one figure, plot the function and the data points.

Solution

arr = zero(1,term)

while i>terms;

x = input (\'Enter a value for week:\'); % user input of which value to use for week
f = input (\'Enter the non-zero value of height \'); %user input of height

c = input (\'Enter the non-zero max value of height \'); %user input of height

 Using matlab code for below problem Growth data of a sunflower plant is given in the following table: The data can be modeled with a function in the form H = C

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site