First of all sorry if this is in the wrong forum.
Could somebody please help me with my math problem, thanks in advance.
Yes I understand its will be a long answer so send me a pm if necessary.
now i assume that you know what is impulse signal ? do you know how to draw that you wrote up there (signals) ? we will start from there
impulse signal is defined so it's one in n=0 and zero elsewhere so if you have convolution of any signal with impulse signal it will be that same signal but just in place of impulse signal
if let's say your impulse signal is shifted left or right... let's say to n=2 meaning that delta signal is then convolution of any signal x[n] with that impulse signal is going to be that signal but in n=2 , meaning it will be ... (i hope you can conclude how that works)
convolution can be done by putting one (usually more complex signal) at the spot, so you don't move that one nowhere , and another signal move from to ) and calculate when they overlap... no need to calculate where one of those two are zero
i see you have there formula for discrete convolution here are that impulse signal and response of filter on impulse signal, and of course x[n] for which you need to calculate convolution
do you have idea how to start ? (it's better to understand it, no use if i put all calculation )
Hint: maybe you know maybe you don't but when shifting one signal, it's shifted for integer (that's one thing which is easier with discrete convolution, you have here sum of products, but in convolution of analog signals you have to solve a lot of integrals )
P.S. you don't need to draw this but i did it so you can see what that convolution actually do
that what you have there is periodical discrete convolution
sorry fot that delta(t) , instead of every "t" on the drawing it should say "n" sorry again
here is one quick example of periodical discrete convolution
let's say we have
with which is basic period
first look at the sequences we will put stationary. we will be moving so we need to draw and then move that sequence from left to right and at the end you see result as and
this is calculating part
sorry for graph 7 it says and it should say sorry
there's example of discrete convolution, but if you notice this example is periodical discrete convolution, something like problem that you have
that is for my example that i give there and no there is no need for calculating for y4,y5 ... because your basic period is 4... and as any periodical function, it repeat it self afterwards for any mK (where m is any positive integer,and K basic period )
your convolution have bigger period show what have you done there
P.S. i can do one more example more similar to your problem (of convolution two sequences that are not periodical ) i'm not going to do yours but i'm willing to help you understand it in your head
now after that said, let's do one (not that which you have to do, but it's the same as that one, just smaller and you can pick up from there... yours can be done at the same way but that will you do and we will see did you get it right )
we have two sequences (finite) and we have to calculate convolution of those two sequences... sequences are :
so we have convolution (discrete convolution) :
as you see it's the same. never mind which one you will move
first step (i'll again do it like that one before so you can see what and why is that like it is) you will change and to and and sketch how they look like (yours have just values "1" and "-1" not like this one )
there you have how do they look
now we will decide which one will we move ? (doesn't matter which one you chose) I'll put to be stationary and flip to (meaning that any value for will be now in the and so on... ) now we will move that sequence for chosen value of "k". in this case it's k=3... (that's something you must know from theoretical knowledge )after doing that and shifted will look like this
third step is represents multiplying sequences and calculating sum product of that is given on the next image
- overlapping sequences and , will be different for different values of .
- sequences will not overlap for
- all products for will be zero. overlap begins for , and for we have partially overlapping of sequences.
for convolution sum is :
if we now increase "k" so and we have
more increasing of "k" we will have
for there is no overlapping so
now you have solution :
On two examples i showed to you principles of how do you do discrete convolution. I don't see how can it be any (much) different, yes it's different your problem is much easier
show what you have done....
ok, Ive had a go. I did it on a word document and cant get it on here so I will just put the basics so you can understand them.
y1= (+1*+1) + (+1*-1)
y2= (+1*-1) + (+1*+1)+(+1*-1)
k 0 1 2 3 4 5 6
hk +1 +1 +1 -1 -1 +1 -1
xk -1 +1 -1 -1 +1 +1 +1
Got my values from the table I made above
only done the first 3 values of y as I wasnt sure I was doing it right. Am I?
If it makes it easier I could email you the word document?
I couldn't get on this website yesterday for some reason.
Ps. I really need the answer to this by Sunday at the latest.