Le 28/08/14 03:05, tanthiamhuat a écrit :
the formuation is as below:

http://postimg.org/image/cg25hlzvh/



--
View this message in context: 
http://mailinglists.scilab.org/Double-Summation-in-Scilab-tp4031100p4031102.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at 
Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

If you have stored the terms of your sum in a matrix "mat", let's say with "t" index for the row and "p" index for the column, you can sum over "t" using "sum(mat, 'r')", sum over "p" using "sum(mat, 'c')" and sum everything using "sum(mat)".

Hope it helps,

Antoine
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to