how to get an impulse response rather than a sine wave?

3 views (last 30 days)
If I don't want to connect my output data as wave, rather want to connect each output for the respective inputs, how should I supposed to do that? How can I get 2nd type of graph instead of 1st one?

Answers (1)

Chunru
Chunru on 30 Oct 2021
a = randn(10, 1);
stem(a)

Community Treasure Hunt

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

Start Hunting!

Translated by