From: Walter Roberson on
Edwin wrote:
> hello everyone,
> I'm getting error in interp1 when trying to use it with the matrix M
> eventhough the values are indeed distinct which is the error interp1 is
> claiming about
> or am I doing something wrong?, any help?.
>
> yi = interp1(M(1:22,2),M(1:22,1),0.0021);
>
> M=[9.00000000000000e-06,0.0794328234724282;
> 9.00000000000000e05,0.0794327830080303;

Are you sure that you want 9E05 and not 9E-05 ?