Plotting signals discrete with dirac
์กฐํ ์: 3 (์ต๊ทผ 30์ผ)
์ด์ ๋๊ธ ํ์
karim Soussou
2021๋
6์ 22์ผ
๋๊ธ: John D'Errico
2021๋
7์ 13์ผ
I am still new in matlab and i am trying to plot those signals ๐ฅ1[๐] = 2๐ฟ[๐ + ๐ท1] โ 3๐ฟ[๐ + ๐ท2] + 3๐ฟ[๐ โ ๐ท3] + 2๐ฟ[๐ โ ๐ท4] ๐ฅ2[๐] = 2๐ข[๐ + ๐ท1] โ 3๐ข[๐ + ๐ท2] + 3๐ข[๐ โ ๐ท3] + 2๐ข[๐ โ ๐ท4] ๐ฅ3(๐ก) = 2๐ข(๐ก + ๐ท1) โ 3๐ข(๐ก + ๐ท2) + 3๐ข(๐ก โ ๐ท3) + 2๐ข(๐ก โ ๐ท4) where D1=1, D2,=0 D3,=6 D4=0
๋๊ธ ์: 0
์ฑํ๋ ๋ต๋ณ
Chunru
2021๋
6์ 23์ผ
D = [-1 0 6 8]; % D1, D2 (negative), D3, D4(changed to 8);
x1 = [2 -3 3 2];
subplot(311); stem(D, x1); % for dirac
subplot(312); x2 = [2 -3 3 2]; x2 = cumsum(x2); stairs(D, x2); % for steps
subplot(313); x2 = [2 -3 3 2]; x2 = cumsum(x2); stairs(D, x2);
๋๊ธ ์: 1
John D'Errico
2021๋
7์ 13์ผ
Please don't do student homework assignments for them. It does not help them, except to teach them there is always someone willing to do their work for them. That is not the purpose of Answers.
์ถ๊ฐ ๋ต๋ณ (0๊ฐ)
์ฐธ๊ณ ํญ๋ชฉ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!