solver for digital systems

3 ビュー (過去 30 日間)
Owen
Owen 2012 年 12 月 9 日
Hi,
is it better to set Solver to "discrete (no continuous states)" for digital systems?
Thanks Senmeis

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2012 年 12 月 9 日
When I work with digital system, I prefer set solver to discrete with fixed step. Now If you don't set a solver to discrete, and your system don't contain any continuous state, when you run your model, Matlab will set automatically the solver to variable discrete solver.
  2 件のコメント
Owen
Owen 2012 年 12 月 10 日
I have owen problems with fixed step. There is upsampling in my digital system so if fixed step is set I get more data than usual. Does this mean only variable step can be set for my case?
Senmeis
Azzi Abdelmalek
Azzi Abdelmalek 2012 年 12 月 10 日
If your sample time is varying, then you can work with variable discrete step. In your blocks that requires sample time, set it to -1 (Inherited), usually, it's the default setting. If your model don't contain any continuous state, set your solver to discrete, to avoid error message, because Matlab, like I said, will set it automatically.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGeneral Applications についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by