Azzera filtri
Azzera filtri

Implementing Z-Transform of -a^n*heaviside(-n-1)

5 visualizzazioni (ultimi 30 giorni)
Gennaro Arguzzi
Gennaro Arguzzi il 28 Lug 2017
Modificato: Gennaro Arguzzi il 28 Lug 2017
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.

Risposte (0)

Categorie

Scopri di più su Symbolic Math Toolbox in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by