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
Lee Jae-yeon 2011년 12월 1일
I got a previous answer, but it is not correct.... That's why i need otherways....
Jan
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
Lee Jae-yeon 2011년 12월 1일
Sorry,sir.... I meant i should do make it without filter.... This is a condition.... It is hard to explain exactly for expert....
Jan
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
Lee Jae-yeon 2011년 12월 1일
All right!!! I understand what you mean!!thank you~~
Walter Roberson
Walter Roberson 2011년 12월 1일
Lee Jae-yeon, please edit the question to make it readable.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Linear Algebra에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

질문:

2011년 12월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by