Is there a cubic spline source block in Simulink?

1 回表示 (過去 30 日間)
Amir Patel
Amir Patel 2014 年 4 月 20 日
Hi
I am solving an optimal control using fmincon in conjunction with Simulink.
I am using a Repeating Sequence block as the discretized input and then fmincon chooses the best parameters for the sequence.
I am having convergence issues and have done research and people often use a cubic spline to parametize the input. The linear interpolated method the Repeating Sequence block can make thigns non-smooth.
My question is, how can I have a cubic spline source block in Simulink? What is the best way to do this?

回答 (0 件)

カテゴリ

Help Center および File ExchangeManual Performance Optimization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by