how to create a vector of variables

hi all,
I'm trying to use genetic algorithms to maximize a fed-batch fermentation product concentration by manipulating the feed rate of a substrate. what I have a problem with is how to define this feed rate throughout the fed-batch reaction. the time of reaction is 10 days, and i'd like to break this into 10 intervals (1 day per interval) so i can have a particular feed rate per day. With that said, how do i create a feed rate vector that has 10 feed variables for each of the 10 time intervals.
if the feed vector is
P(g) = [P1(g) P2(g)...Pi(g)] such that i is the number of the intervals within 10 days.
each of Pi(g) variable is then passed to the GA function for optimization of that time interval in the non-linear fed-batch system.
please help, D

Réponses (1)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by