Rewriting x(k) So i can calc a Z Transform

  • Thread starter Evo8
  • Start date
  • Tags
    Transform
In summary: You're welcome! :)In summary, the geometric series provides a way to calculate the z-transform of a function. X(z) is given by the sum of z-transformed terms. The sum of z-transformed terms is limited to k=21.
  • #1
Evo8
169
0

Homework Statement



Let x(k)=
0 k<0
0.6^k 0<=k<=21
0 k>21

Calculate X(z)

Homework Equations



Z transform

The Attempt at a Solution



Ok so i think calculating the Z transform of this won't be too difficult for me at all. I just have a hard time with this type of notation. So what i would like to some help on is how to rewrite the equation x(k).

I understand that x(k)=0.6^k and for K is between 0 and 21. Any values outside of that x(k) = zero... So how do I assemble X(k) in a form that I can do a z transform to it? It seems like it should be easy but I just don't see it. Something with a summation maybe and a limit of 0 -> 21?

Thanks for any comments guys!
 
Physics news on Phys.org
  • #2
Hi Evo8! :smile:

X(z) is the z-transform.

It is given by:
[tex]X(z)\overset{\mathrm{def}}{~=~}\mathcal{Z}\{x(k)\}\overset{\mathrm{def}}{~=~}\sum_{k=-\infty}^{\infty} x(k)z^{-k}[/tex]
 
Last edited:
  • #3
Hi I like Serena.

I understand the z transform formula. What I don't understand is what my x(k) actually is to do the z transform too.

Thanks for your help!
 
  • #4
I'm not sure I understand your question.

You're meant to substitute your definition of x(k) in the summation...
Then adjust the bounds, since it's only non-zero in part of its range.
 
  • #5
Yes but my problem is I don't really understand what my x(k) is in this case.

x(k)=0.6^k with the bounds 0->21 How do I apply this? I don't know why this is hard for me to see. I am sure its simple. I just don't fully understand the notation I guess.

Would it just be

X(z)=(0.6^k) (z^-1)?
 
  • #6
There is a summation over k:
[tex]X(z)=... + x(-1)z^{-(-1)} + x(0)z^{-0} + x(1)z^{-1} + ...[/tex]

And
[tex] ..., \quad x(-1)=0, \quad x(0)=0.6^0, \quad x(1)=0.6^1, \quad ..., \quad x(21)=0.6^{21}, \quad x(22)=0, \quad ...[/tex]
 
  • #7
Ok I think I understand. I think my issue was more understaning how the summation works. I am still on the edge of understanding. Either way this is what I have come up with after following a similar example from my book.

x(k)=[itex]\sum[/itex](0.6^k) 0->21

X(z)= [itex]\sum[/itex](0.6^k z^-k) 0->21

X(z)=[itex]\sum[/itex](0.6^k (1/z^k)) 0->21

X(z)=[itex]\sum[/itex]((0.6/z)^k) 0->21

X(z)=1/(1-(0.6/z))

X(z)=z/0.4

Am I on the right track? I used the generalized geometric series to get this form. Well I tried to anyway.

Thanks again for your help!
 
  • #8
Let's see...

Evo8 said:
Ok I think I understand. I think my issue was more understaning how the summation works. I am still on the edge of understanding. Either way this is what I have come up with after following a similar example from my book.

x(k)=[itex]\sum[/itex](0.6^k) 0->21

No, x(k) itself is not a summation, but a function with a value that depends on the value of k.


Evo8 said:
X(z)= [itex]\sum[/itex](0.6^k z^-k) 0->21

X(z)=[itex]\sum[/itex](0.6^k (1/z^k)) 0->21

X(z)=[itex]\sum[/itex]((0.6/z)^k) 0->21

X(z)=1/(1-(0.6/z))

Looking good, except for that last step.
That is the sum of a geometric series summing to infinity.
However, you should only sum to k=21.


Evo8 said:
X(z)=z/0.4

Am I on the right track? I used the generalized geometric series to get this form. Well I tried to anyway.

Thanks again for your help!

Geometric series is the way to go.
Just get the right formula for it. ;)
 
  • #9
Ok so up until

[itex]\sum(\frac{0.6}{z})^{k}[/itex]

Im still on the right track?

The formula for the geometric series that I have is

[itex]\sum z^{k}[/itex]=[itex]\frac{z^{m}}{1-z}[/itex],m≥0 and lzl<1

My m in this case would equal 0 because my limits are 0-21. so the z in the numerator becomes 1 and the z in the denominator is my z which equals (0.6/z). This was my reasoning anyway. Do I just need to have notation instructing to stop the sum at 21?

Like lzl≤21?
 
  • #10
Evo8 said:
Ok so up until

[itex]\sum(\frac{0.6}{z})^{k}[/itex]

Im still on the right track?

Yep!


Evo8 said:
The formula for the geometric series that I have is

[itex]\sum z^{k}[/itex]=[itex]\frac{z^{m}}{1-z}[/itex],m≥0 and lzl<1

My m in this case would equal 0 because my limits are 0-21. so the z in the numerator becomes 1 and the z in the denominator is my z which equals (0.6/z). This was my reasoning anyway. Do I just need to have notation instructing to stop the sum at 21?

Like lzl≤21?

I don't know that formula. :confused:
Where did you get it?

Here's the formula I mean:
http://en.wikipedia.org/wiki/Geometric_series#Formula
 
  • #11
I got that formula from my DSP book. Ill take a look at the one you have posted from wikipedia and see if i can understand how to apply it.

Thanks again.
 
  • #12
Ok so I looked back and I am unsure if I am using the geometric series correctly.

This is what I have for a definition in my book.

geometricseriesJPG.jpg


However I made a stupid mistake on my Algebra...

Up to this point I am ok.. X(z) = [itex]\sum(\frac{0.6}{z})^{k}[/itex]

Now when I apply the geometric series I get X(z)=[itex]\frac{1}{1-(\frac{0.6}{z})}[/itex]

Now when I simplify it should be X(z)=[itex]\frac{z}{z-0.6}[/itex]

This looks ok to me i think. Especially since there is an example that is very similar in my book that I followed. The only problem is I don't have the limit of 21 defined anywhere. The example in the book is 0->∞ My problem above is 0->21... Where does this upper limit of 21 come into play?

Here is the example for your reference.
ROC1.jpg

ROC2.jpg


The X[itex]_{c}[/itex](z) in this example is what I believe to be very similar to my problem above.


In addition I have to find the region of convergence of my X(z). I am a bit confused on what the ROC actually is but I am still reading that section over in my book. I may have a few questions on this shortly. Not sure if its worth starting another thread for though.

Thanks,


Edit: If my X(z) is correct would my ROC simply be 21>lzl.0.6 ?
 
Last edited:
  • #13
Sorry, but your X(z) is not correct yet.
As you already surmised the upper limit of 21 should go somewhere.
All the formulas that you have shown sum up to infinity.

To sum a series [itex]r^k[/itex] up to some limit n, you need:
[tex]\sum_{k=0}^n r^k = {1 - r^{n+1} \over 1 - r}[/tex]

Alternatively you can write your sum as:
[tex]\sum_{k=0}^n r^k = \sum_{k=0}^\infty r^k - \sum_{k=n+1}^\infty r^k[/tex]



When you sum up to infinity, there is a chance that the sum does not exist, for instance because it tends to infinity.
The region of convergence is where the sum exists.
But let's discuss that when you have your X(z).
 
  • #14
Hmmm...ok. I think I understand what you mean.

Going by the first formula you posted I would get

[itex]\frac{1-(\frac{0.6}{z})^{22}}{1-(\frac{0.6}{z})}[/itex]

If I understand this correctly I see now what you mean by the series I had first written was to ∞ not to 21...

However I need to do something else here to simplify I assume? Or is this the final form? I don't see anything else I can do algebraically except for writing out the entire series. I may be missing something though as my algebra skills are sub par in my opinion.
 
  • #15
Nope. That's it! :)
As far as I'm concerned that's the final form.
There's no useful algebraic simplification.

As for the region of convergence.
For which values of z is this formula well defined?
 
  • #16
I think it would be 0≤z≤21 right?

Or would it be 0.6≤z≤21 ...? If I were to guess I feel like my first answer is correct. I am still a little confused on this though.
 
  • #17
What happens if you substitute z=0?
Does it exist?

What if z=22?

Btw, note that z can be any complex number, not just a real number.
 
  • #18
Well when you substitute z=o it does not exist. Thats for sure. So good point there.

If you substitute z=22 it does indeed exist. So maybe my second answer is more correct? Or should it be 0.6≤z≤22?

Or am I still way off track here?
 
  • #19
You're still a bit off track. ;)

What if z=0.6?
What if z=23?
What if z=0.1?
What if z=i?
 
  • #20
Well I tried all of those values and

z=0.6 comes up undefined of course so that's out
z=23 comes out at just over 1. 1.02679...
z=0.1 is some large number.
z=i comes up as a complex number with real and non real parts. I am not sure how to understand this.

I can see that the lower limit (i think) has to larger then 0.6 to keep the expression form being 0. So z>0.6 ... ?

As for an upper limit it seems like 23 and higher would work no problem but were looking for the limit of the convergence right so it would be ≤ 21?

So 0.6< z ≤21?
 
  • #21
Actually, in this case convergence is not an issue.
Convergence is only an applicable issue if you have a series that sums to infinity.
(There's a special convergence criterium, which is mentioned in your book in that case.)
This series doesn't. It stops at k=21.

So the only criterium is that the expression is well defined.
The only thing that can go wrong in this case, is division by zero.
Which values of z would make you divide by zero?
Those are off.
All other values are good.
 
  • #22
Ok, After taking another look it looks like the only value that causes a problem is 0.6. Above or below are just fine. So I just need to notate that 0.6 is not to be used?

Also I just noticed I am asked to find "the radius of convergence" not the region but i feel like this is the same thing just a different term correct?
 
  • #23
What about z=0?
And what about z=[itex]i[/itex]?Radius of convergence?
That makes no sense in this case.

For a regular geometric series [itex]\sum r^k[/itex] that is summed to infinity, the ROC is the unit disk in the complex plane given by |r| < 1.
Then you can define a radius of convergence, which is the radius of the disk.

But you don't have a disk, so it seems to me that the question is badly phrased.
 
  • #24
I think you are correct. It should most likely be Region of convergence. My book doesn't even speak of radius of convergence and I don't really remember seeing it during lectures either.

So we can scratch radius of convergence and believe it to be region of convergence.

Right z=0 would also pose a problem not sure why I didnt see that. z=i I am slightly confused by. Of course when i substitute this in I get a complex number on the output. Something along the lines of

0.74 - 0.44*i which i don't see being a problem either. Maybe I am missing something though. Since you mentioned it I feel like its something of interest...
 
  • #25
Indeed, [itex]z=i[/itex] is not a problem. :)
The reason I mentioned it, is that you said "above or below 0.6".
But [itex]i[/itex] is neither above or below, it is just different.

So what do you think the ROC is?
 
  • #26
Hmm well i think we have come to the conclusion that the two values that will throw the eq off is z=0 and z=0.6.

So would the ROC be
z≠0
z≠0.6
All other values of z are good. I am just not sure how to properly express this with numbers and/or symbols..
 
  • #27
I believe that what you wrote is just fine.

It is clear and unambiguous.
That is all that is required mathematically.
If you want you could write:
[tex]ROC=\mathbb{C} \backslash \{0, 0.6\}[/tex]
 
  • #28
Sounds good. I think that notation is a little bit cleaner. I really appreciate your help!
 

Related to Rewriting x(k) So i can calc a Z Transform

What is the purpose of rewriting x(k) for calculating a Z transform?

The Z transform is a mathematical tool used to analyze discrete-time signals in the frequency domain. By rewriting the discrete-time signal x(k) in a specific form, we can more easily apply the Z transform and analyze the signal's frequency characteristics.

What is the standard form for rewriting x(k) for the Z transform?

The standard form for rewriting x(k) for the Z transform is x(n) = X(z)|z=e^(jω), where X(z) is the Z transform of x(n) and ω is the frequency variable.

What are the steps for rewriting x(k) for the Z transform?

The steps for rewriting x(k) for the Z transform are as follows:

  1. Express x(k) as a function of the variable n
  2. Replace n with -k in the function
  3. Rewrite the resulting function as X(z)
  4. Replace z with e^(jω)

Can any discrete-time signal be rewritten for the Z transform?

Yes, any discrete-time signal can be rewritten for the Z transform as long as it is finite and has a well-defined Z transform.

What are some common applications of the Z transform?

The Z transform has various applications in signal processing, control systems, and digital filtering. It is often used to analyze the frequency response of a system, design digital filters, and solve differential equations.

Similar threads

  • Calculus and Beyond Homework Help
Replies
6
Views
507
  • Calculus and Beyond Homework Help
Replies
5
Views
435
  • Engineering and Comp Sci Homework Help
Replies
2
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
788
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
522
  • Engineering and Comp Sci Homework Help
Replies
4
Views
2K
  • Special and General Relativity
Replies
4
Views
150
  • Introductory Physics Homework Help
Replies
4
Views
865
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
Back
Top