Im getting an error using the interp1, the workspace is attached. I think the issue is with te, where it jumps suddenly at indices 5139-5140. te is a time vector, eth is a concentration
ethi = interp1 (te, eth, (tg+5))
debug4meinterpolationMATLAB
ethi = interp1 (te, eth, (tg+5))
Best Answer