1. The problem statement, all variables and given/known data i'm trying to implement a code into matlab but im getting an error that i think i understand but dont know how to fix it: for i=1:n f(x)=t(i)-*P(t(i),t0)*f(t0) end t0 is defined to be 0. this is not the whole code, but the error lies in that line, it says: ??? Attempted to access P(1,0); index must be a positive integer or logical. 2. Relevant equations 3. The attempt at a solution I understand that the matrix P has an error because it's trying to evaluate at 0 when it should be a positive integer...? but this is the formula i want to evaluate.