How to add limit condition to existing code
Mostrar comentarios más antiguos

How to add lim h ->0 condition to the below code. How is tril, toeplitz in code related to the above equation? How to edit the sum condition? Is there any simple form to write the above equation?
h = 0.01
n = numel(y);
m = 0:(n-1);
s = (-1) .^ m;
M = tril(ones(n));
R = toeplitz(y(:)');
T = meshgrid((gamma(a+1)/(h^a)) * s ./ (factorial(m).*gamma(a-m+1)));
Y = reshape(sum(R .* M .* T, 2 ), size(y));
Respuesta aceptada
Más respuestas (1)
KALYAN ACHARJYA
el 9 de Feb. de 2019
Editada: KALYAN ACHARJYA
el 9 de Feb. de 2019
1 comentario
Elysi Cochin
el 9 de Feb. de 2019
Categorías
Más información sobre Mathematics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
