Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a discrete Signal in my CSV File and I want to transform it in Z. I import the data with


and I try to transform it


but I get this Error:

$RecursionLimit::reclim : Recursion depth of 256 exceeded >>

What is the meaning of this?

share|improve this question

I think you are confused on ZTransform. This expects to take an expression as a function of n, for example n^2 2^(-n). If you have just numbers, then you can't do this. You need to apply the formula itself. Assuming one-sided ZTransform, then simply write

Clear[z, n]
data = RandomReal[{0, 1}, 10];
Sum[data[[n + 1]] z^(-n), {n, 0, Length[data] - 1}]

Mathematica graphics

This is simply the definition.

Replace data above with your own data in the CVS file. Again, I used a one-sided ZTransform in this example, which is the most common one.

share|improve this answer
Hey Nasser M. Abbasi, – yassine karmoudi Dec 21 '12 at 13:03
i have a list with 20225 Values. what im really doing is to multiply a ZTransformed RC model with the Z Transformation of the Current on CSV file. G(z) is my RC model und C(z) is my Current also V(z)=G(z)*C(z) . so i want to Inverse the Z Transformation of V(z) to get it on the time domain also V(t)=InverseZTransform(V(z)) but mathematica is running and i dont become any results or error.still running :-( thank you Nasser – yassine karmoudi Dec 21 '12 at 14:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.