By reading the matrix y and the vector t, find (approximately) the last three values of t in the interval 0 ≤ t ≤ 40 at which y reaches a local maximum. note that, because the m-file lab04ex1.m is a function file, all the variables are local and thus not available in the command window. to read the matrix y and the vector t, you need to modify the m-file by adding the line [t, y(: ,1), y(: ,2)].

Solved
Show answers

Ask an AI advisor a question