How to make an array of function outputs?
1 view (last 30 days)
%equation for y
yFunction = @(t) ((4.*t.^3)+(3.*t.^2)+(5.*t)+5);
%Plotting the function
I am trying to find the minimum and maximum values of this function and I was wondering if there is a way to make an array of the outputs from the function. Then, with the array I can find the min and max values.