[Scilab-users] interp and memory

Jean-Yves Baudais Jean-Yves.Baudais at insa-rennes.fr
Mon Mar 8 08:33:08 CET 2021


Hello,

   Is my code wrong or is there a real memory problem with the function 
interp in the following code? (Scilab fulfills the memory and of course 
stops.)

for i=1:1000
   mprintf("%d\n",i);
   n=1e6;
   xp=1:n;
   x=1:100:n;
   y=rand(x);
   d=splin(x,y);
   z=interp(xp,x,y,d);
end

Thanks,

Jean-Yves



More information about the users mailing list