フィルターのクリア

Matlab function: c2d => what does sample time

4 ビュー (過去 30 日間)
Alex
Alex 2011 年 8 月 15 日
Hi all.
I'm trying to convert a continues transfer function into a discrete. I know that the matlab function c2d can be used to this purpose. But what does the sample time? I mean, if I late choose to work with a signal with a different sample frequency, would I then need to convert the filter again, and why?
[sysd,G] = c2d(sys,Ts,method)

採用された回答

Paulo Silva
Paulo Silva 2011 年 8 月 15 日
That's just the sampling time of the conversion of your transfer function from continuous to discrete (each method has it's own formula and the Ts is part of it, see the methods and formulas in books like Digital Control of Dynamic Systems), you can change the sampling time of the input signal without convert again but you must be careful with the sampling times, plot the continuous and discrete response to your input on the same axes and see if they are similar, low Ts values require more processing power but result in better responses, high Ts values require less processing power but don't give good results, you must make a compromise and choose the Ts that satisfy your project requirements.
  1 件のコメント
Alex
Alex 2011 年 8 月 15 日
Thanks a lot.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeElectrical Block Libraries についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by