Could you please solve the problem??
이전 댓글 표시
Hello,expert!!! I have learnt "Convolution in signal and system... I should make a source the following question>>>>>>> X[n]*h[n] = [20cos(5πn+ π/3)+cos(200πn)] * 1/3 ( δ[n-2]+ δ[n-1]+ δ[n] ) {n is from 0 to 299}>>>>>>>I should show cosine graph by matlab! How to make a source which calculate the question .for example,>>>> y[0] = 1/3[20cos(5π0+ π/3)+cos(200π0)].......... y[1] = 1/3[20cos(5π0+ π/3)+cos(200π0)]+1/3[20cos(5π1+ π/3)+cos(200π1)]..........y[2] = 1/3[20cos(5π0+ π/3)+cos(200π0)]+1/3[20cos(5π1+ π/3)+cos(200π1)]+1/3[20cos(5π2+ π/3)+cos(200π2)]..........y[3] = 1/3[20cos(5π1+ π/3)+cos(200π1)]+1/3[20cos(5π2+ π/3)+cos(200π2)]+1/3[20cos(5π3+ π/3)+cos(200π3)]........ until y[301] = 1/3[20cos(5π299+ π/3)+cos(200π299)] δ[n] is the backward shift operator 5π(n-2) is 5*pi(n-2)*** This question cannot be used 'Filter'utility in Matlab....How to creat matlab source,expert???? Help me please!!!!
댓글 수: 6
Lee Jae-yeon
2011년 12월 1일
Jan
2011년 12월 1일
Please, be so kind and explain, why the former answer is not correct. It wastes our and your time, if we guess, what the problem is. Why can FILTER not be used?
The "Markup help" link explains, how to format your code. currently your question is very hard to read.
Lee Jae-yeon
2011년 12월 1일
Jan
2011년 12월 1일
Instead of posting a question twice, it would be more helpful for the readers, if you append new information to the original question and accept only an answer, which solves the problem.
Does Hin Kwan Wong's answer produce the correct result in http://www.mathworks.com/matlabcentral/answers/22641-could-you-please-make-a-complete-code-about-the-following-question ?
Lee Jae-yeon
2011년 12월 1일
Walter Roberson
2011년 12월 1일
Lee Jae-yeon, please edit the question to make it readable.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Linear Algebra에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!