[Scilab-users] using "intg" in a function

Rafael Guerra jrafaelbguerra at hotmail.com
Sat Jan 26 22:27:35 CET 2013


Hi,

Invalid syntax for the input variable names in: function [wert] = in(x(1) ,
x($)).
Write instead:

   function wert = in(x);
        wert = intg(x(1),x($),quad);
   endfunction;

x =  [0:4];
wert = in(x); //should work now

Regards
Rafael




--
View this message in context: http://mailinglists.scilab.org/using-intg-in-a-function-tp4025769p4025770.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list