How to synthesise discrete signal?

How can I synthesise a discrete signal given by the expression x[n]=1.23^(-n) for 0<=n<=819?
Thank you in advance.

 Accepted Answer

n = 0:819;
x = 1.23.^-n;
stem(n,x)
xlim([0 20]) % just look at the beginning

More Answers (1)

n=0:.01:819;%not sure what interval or frequency
x=1.23.^(-n);

Products

Release

R2021b

Asked:

on 25 Mar 2022

Answered:

on 25 Mar 2022

Community Treasure Hunt

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

Start Hunting!