ํ•„ํ„ฐ ์ง€์šฐ๊ธฐ
ํ•„ํ„ฐ ์ง€์šฐ๊ธฐ

Plotting a Response of the Following system

์กฐํšŒ ์ˆ˜: 2 (์ตœ๊ทผ 30์ผ)
John Doe
John Doe 2021๋…„ 9์›” 22์ผ
๋Œ“๊ธ€: John Doe 2021๋…„ 9์›” 22์ผ
How can i plot the response of this system? ๐‘ฆ[๐‘›] = โˆ’๐‘ฆ[๐‘› โˆ’ 1] + 5๐‘ฅ[๐‘›] + 2๐‘ฅ[๐‘› โˆ’ 3]. From an input ๐‘ฅ[๐‘›] = [5, 1, 2, 3, 1, 0, 1, 2, โˆ’1, ]

์ฑ„ํƒ๋œ ๋‹ต๋ณ€

Chunru
Chunru 2021๋…„ 9์›” 22์ผ
% ๐‘ฆ[๐‘›] = โˆ’๐‘ฆ[๐‘› โˆ’ 1] + 5๐‘ฅ[๐‘›] + 2๐‘ฅ[๐‘› โˆ’ 3].
b = [5 0 0 2]; % 5x(n), 2x(n-3)
a = [1 1]; % y(n) + y(n-1)
% From an input ๐‘ฅ[๐‘›] = [5, 1, 2, 3, 1, 0, 1, 2, โˆ’1, ]
x = [5, 1, 2, 3, 1, 0, 1, 2, -1];
y = filter(b, a, x);
stem(y)
  ๋Œ“๊ธ€ ์ˆ˜: 1
John Doe
John Doe 2021๋…„ 9์›” 22์ผ
Thank you very much for the fast and precise answer. More power to you.

๋Œ“๊ธ€์„ ๋‹ฌ๋ ค๋ฉด ๋กœ๊ทธ์ธํ•˜์‹ญ์‹œ์˜ค.

์ถ”๊ฐ€ ๋‹ต๋ณ€ (0๊ฐœ)

์นดํ…Œ๊ณ ๋ฆฌ

Help Center ๋ฐ File Exchange์—์„œ Matched Filter and Ambiguity Function์— ๋Œ€ํ•ด ์ž์„ธํžˆ ์•Œ์•„๋ณด๊ธฐ

ํƒœ๊ทธ

์ œํ’ˆ


๋ฆด๋ฆฌ์Šค

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by