Message Boards Message Boards

GROUPS:

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

Posted 10 months ago
1344 Views
|
2 Replies
|
0 Total Likes
|

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.

2 Replies

Thomas,

Use OutputResponse[].

Regards,

Neil

Posted 10 months ago

Thank you!

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