SimulinkによるZero order Hold時データのワークスペース保存について

3 views (last 30 days)
Minoru Inoue
Minoru Inoue on 29 Jan 2016
Answered: Kei Otsuka on 27 Oct 2016
初質問となります。
SimulinkのDiscreteグループにあるZero Order Hold(0次ホールド) に関する質問です。
Zero Order Holdされている最中のデータを取り、MATLABでそのグラフを 得ることで連続時間系の結果との比較を行いたいと考えております。
それにあたって、ゼロ次ホールドされている途中(同じ値が連続している所) を時系列データとして得たいと考えているのですが、どのようなブロックおよび設定を行えばよいか わからない状況です。
MATLABのバージョンは2015aです。
ご教授の程よろしくお願いします。
  1 Comment
Walter Roberson
Walter Roberson on 29 Jan 2016
Approximate translation:
For workspace save of Zero order Hold-time data that is due to the Simulink
This is the first question.
The question is about the Zero Order Hold (0-order hold) in the Simulink of Discrete Group.
Take the data while being Zero Order Hold, we would like to compare to the results of the continuous-time system by obtaining the graph in MATLAB.
It When, How can believe that want to get the middle of it is zero-order hold the (where the same value is continuous) as time-series data, it is a situation you do not know what kind of block and either may be performed setting.
MATLAB version is 2015a.
Thank you enough for your professor.

Sign in to comment.

Accepted Answer

Kei Otsuka
Kei Otsuka on 27 Oct 2016
ゼロ次ホールドされている間(サンプリング周期の間)のデータを 時系列データとして取得する方法ですが、 RateTransition ブロックで ゼロ次ホールドよりも短いサンプル時間を指定し、その出力を To Workspace ブロックで取り込んでみてください。
RateTransitionブロックで指定するサンプル時間にもよりますが、 同じ値が連続している箇所を含む時系列データをMATLAB上で扱えます。

More Answers (0)

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!