Message Boards Message Boards

0
|
4698 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

How to "filter" a signal with a transfer function?

Posted 3 years ago

suppose I have an input signal:

x = Table[Cos[0.2 n], {n, 20}]

and a simple SISO digital filter defined by the following transfer function:

In[75]:= tf =   TransferFunctionModel[(z - 0.5)/(z - 0.7), z,
SamplingPeriod -> 1]

Out[75]= TransferFunctionModel[{{{-0.5 + z}}, -0.7 + z}, z,  
SamplingPeriod -> 1]

how could I get the output signal (i.e. x got filtered by tf)? I've tried ListConvolve[] but no luck.

Please kindly help. Thanks.

POSTED BY: Thomas Tse
2 Replies

Thomas,

Use OutputResponse[].

Regards,

Neil

POSTED BY: Neil Singer
Posted 3 years ago

Thank you!

POSTED BY: Thomas Tse
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