[Scilab-users] Numderivative and integrate

Rafael Guerra jrafaelbguerra at hotmail.com
Sun Dec 17 01:14:01 CET 2017


Hi Hermes,



Regarding your question "the FourMatDiff function could be improved. Is there any function in Scilab to create band Matrices?",

please note that following code:


M = toeplitz([0  -2/3  1/12  zeros(1,n-5)  -1/12  2/3]);
M = tril(M) - triu(M);



produces the same results for n >=5 as your function:  FourMatDiff2(n)



Regards,

Rafael


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20171217/88a87f8f/attachment.htm>


More information about the users mailing list