[Scilab-users] Numderivative and integrate
Rafael Guerra
jrafaelbguerra at hotmail.com
Sun Dec 17 17:01:56 CET 2017
Hi Hermes,
Regarding your question "the FourMatDiff function could be improved. Is there any function in Scilab to create band Matrices?", the simpler code:
r = [0 -2/3 1/12 zeros(1,n-5) -1/12 2/3];
M = toeplitz(r,-r);
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/dcdbb389/attachment.htm>
More information about the users
mailing list