Message Boards Message Boards

0
|
11392 Views
|
5 Replies
|
4 Total Likes
View groups...
Share
Share this post:

[?] Calculate the inverse Z transform with exact precision?

Posted 6 years ago

Hello All. I hope you are doing well.

I need to perform an inverse Z transform

enter image description here

As you can see I dont get a clean output. what are that dots there?

For example

6.-5n Whats that?

POSTED BY: Julian Oviedo
5 Replies
Posted 6 years ago

But what number its 6.?? It suppose to be 6.0? and .5 it suppose to be 0.5?

POSTED BY: Julian Oviedo

Yes, these follow the usual rules and conventions of decimal notation. That is to say, there are equivalent ways to display these, and the one in use as default output form in the Wolfram Language displays with the fewest digits possible.

POSTED BY: Daniel Lichtblau

There are dots in the input so is it really a surprise to see them in the output?

POSTED BY: Daniel Lichtblau
Posted 6 years ago

Thanks a lot

POSTED BY: Julian Oviedo
 In[1]  = 10/3.
Out[1] = 0.3333

By adding a decimal point to a number, you force Mathematica to treat it as approximate. These approximate numbers will be machine precision by default. If the expression contains a decimal number,then the result is also a decimal number.

I refer to the book for more information:1.Mathematica Cookbook and 2.Mathematica Navigator

Try:

InverseZTransform[-0.9568/(z - 4.321*10^-2), z, n] // Rationalize

(* -299 2^(6 - 5 n) 5^(1 - 5 n) 4321^(-1 + n) UnitStep[-1 + n] *)

or:

InverseZTransform[-(598/625)/(z - 4321/100000), z, n]

(* -299 2^(6 - 5 n) 5^(1 - 5 n) 4321^(-1 + n) UnitStep[-1 + n] *)
POSTED BY: Mariusz Iwaniuk
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract