This is a Matlab Question of an anonymous funtion that modelsbacteria growth
f) Now, try your function with a vector containing 1 and 4 asshown here: B([1 4]). If you get an error, you will need to fixpart c). Remember that we want element by element division, notmatrix division. Hint: A “.” is needed.
g) Use fplot to create a graph (figure 1) showing B(t) for from0 to 40 hours. Add a grid, a title, and appropriate x and ylabels
Below is my started code but i cant get the plotting right
t = linspace(0,50,51);
B = @(t,v) 250./(1+56.75.*exp(-0.17.*t));
figure(1); % the plot will be
PayPal Gateway not configured
PayPal Gateway not configured