Is there a cubic spline source block in Simulink?

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Manual Performance Optimization 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by