I am not sure about what i am doing wrong but i keep getting this error. i am honeslty very confused. It would be great if i could get some help on how to fix this.
Index exceeds the number of array elements (0).
Error in pdepe (line 181)
if m > 0 && xmesh(1) < 0
Error in Project (line 38)
sol = pdepe(m,@pdex1pde,@pdex1ic,@pdex1bc,r,t);