Dear community,
I am a newbie in matlab. I would like to know the method to define an objective function for an optimization function. I have a set of 6 ode equations which has 4 input variables for its calculation. I would to like to manipulate these 4 input variables sunch that one of my variable (ODE) can be optimized (maxima/minima). How to implement an objecive function and obtain the trajectory profile for these 4 input variables? I would like to obtain a continuous time varying profile for these 4 input variables. The system is a continuous time varying setup with interdependant ode. Please give me any suggestions for the same.