[Scilab-users] error 26 Too complex recursion!
haasejos
haasejos at web.de
Mon Mar 4 16:05:00 CET 2013
hello,
I would like to run a type of script as shown below. Scilab prints the
errormessage "error 26 Too complex recursion!" What should be changed to
succeed?
best regards
Josef
*
function [gg2]=g2(xi);
gg2=f(xi)*exp(imult(-2*nn*%pi*xi/L));
endfunction;
function y=f(x);
y = sin(x);
endfunction;
nn=1;
c0=0;
L = 2*%pi;
x = (0 : %pi/4 : 2*%pi);
y=[];
for j =1:length(x);
y=[y f(x(j))];
end;
b=(2/L)*intc(c0,c0+L,g2);
disp('b = ' +string(b));*
--
View this message in context: http://mailinglists.scilab.org/error-26-Too-complex-recursion-tp4026126.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
More information about the users
mailing list