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 commentaires

Lee Jae-yeon
Lee Jae-yeon le 1 Déc 2011
I got a previous answer, but it is not correct.... That's why i need otherways....
Jan
Jan le 1 Déc 2011
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 le 1 Déc 2011
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 le 1 Déc 2011
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 le 1 Déc 2011
All right!!! I understand what you mean!!thank you~~
Walter Roberson
Walter Roberson le 1 Déc 2011
Lee Jae-yeon, please edit the question to make it readable.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Linear Algebra dans Centre d'aide et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by