How can I plot summation along with delta function using for loop
조회 수: 1 (최근 30일)
이전 댓글 표시
Plot the function x(n)= summation (k=0: infinity) 4*delta([n-3k-1]
댓글 수: 4
Ioannis Andreou
2020년 2월 1일
편집: Ioannis Andreou
2020년 2월 1일
Seems right to me.
So x(n) = 4 if and only if n-1 can be divided by 3. Which means, that x(n) is 4 when n-1 = 0, 3, 6, 9, 12 and so on and thus x(n) = 4 when n = 1, 4, 7, 10 and so on. And that is exactly what your plot is showing
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!