列ベクトルを時系列データに変換する方法

Simulink上のMatlabFunctionで作成した100×1の列ベクトルを時系列データに変換する方法が知りたいです. 変換した時系列データはPD制御の目標波形として使用するつもりです.

 采纳的回答

Tohru Kikawada
Tohru Kikawada 2017-2-21

2 个投票

DSP System Toolboxの Unbuffer ブロックを試してみてください。
下記の回答も参考になるかもしれません。

3 个评论

fumito ito
fumito ito 2017-2-21
编辑:fumito ito 2017-2-21
回答ありがとうございます.urlを見ました.RandomNumberブロックは外すことはできないのでしょうか.MatlabFunction内で行列を作成し,試したら以下のようなエラーが出ました.ブロック線図は図に示すようなものです.
Error in 'untitled/Unbuffer1': All sample times must be discrete. No continuous or constant sample times are allowed.
解決策があれば教えて頂きたいです.
Tohru Kikawada
Tohru Kikawada 2017-2-21
サンプル時間が指定されていないのがエラーの原因です。 MATLAB Functionブロックのサンプル時間を下記にしたがって設定してみてください。
fumito ito
fumito ito 2017-2-23
わかりました.ありがとうございます.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by