Thanks Samuel Gougeon, it worked. On Monday, April 14, 2014 6:13 PM, Samuel Gougeon <[email protected]> wrote:
Le 14/04/2014 14:27, Shantanu Dutta a écrit : > Hello everyone! > I want to find convolution of two functions using scilab. I've seen a > book a Matlab solution which I modified to run in scilab. > My code is as follows(Numbers at begining are line no.s): > > 1. t1=-10:.1:0;t1=t1'; > 2. g1=-2*exp(2*t1); > 3. t2=0:.1:10;t2=t2'; > 4. g2=2*exp(-t2); > 5. t=[t1;t2];g=[g1;g2]; > 6. f=[zeros(size(g1));ones(size(g2))]; f = [zeros(g1); ones(g2)]; // should make your script working HTH Samuel _______________________________________________ users mailing list [email protected] http://lists.scilab.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.scilab.org/mailman/listinfo/users
