Is there an Optimization Tool that returns a function?

Hey:)
So this is my problem:
I want to maximize the final mass of an ascending rocket into an orbit by controlling the trajectory over a thrust vector control variable a(t). So I need an Optimization Toolbox that returns me the optimal function a(t), but the objective function I want to minimize is m(t). And I couldn't find anything about this anywhere. I tried for example fmincon, but fmincon only returns a scalar.
Do you have any ideas?

 채택된 답변

Stephan
Stephan 2018년 12월 15일
편집: Stephan 2018년 12월 15일

0 개 추천

Hi,
yes, there is functionalDerivative which is useful in this case. See the examples in the documentation. There is a tutorial for this function also, where you can learn how it works.
Best regards
Stephan

댓글 수: 3

So as I understood it,in my particular case as mentioned above, I have write a code that returns me a functin of a(t) and pass this function to fmincon so that it returns me the maximum mass with which my vehicle can reach the given final orbit. Am I right? Or is it impossible to combine to fmincon with functionalDerivative?
functionalDerivative will return a symbolic result. Maybe it helps if you work through the Brachistochrone example, to understand what you can expect by using functionalDerivative.
I did, but anyways thank you a lot, I got some new ideas and I am going to try them out.
Best Regards
Brendan

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

질문:

2018년 12월 15일

댓글:

2018년 12월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by