Implementing Z-Transform of -a^n*heaviside(-n-1)
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello everyone, is it possible to implement a code that carries out the Z-Transform of an anticausal sequence like this -a^n*heaviside(-n-1)?
The code:
close all
clear all
syms a n z
assume(a > 0)
assumeAlso(a < 1)
assumeAlso(a < z)
S = symsum((-a/z)^n*heaviside(-n-1), n, -Inf, Inf);
S = simplify(S, 'Steps',20)
but it does not work. The solution is z/(z-a).
Thank you for your time.
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Calculus en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!