Using GA with parameters reading from a excel file

조회 수: 4 (최근 30일)
Sahar khalili
Sahar khalili 2022년 3월 1일
I have a function that read initial conditions and some parameters from a excel file and calculates some outputs in a daily time step.
[Temp,DO, DOC, DOM] = solvemodel(m_start,m_stop,initfile,'sheet1',inputfile,'sheet1', parafile,'sheet1'); it mean that that the directory of three excel files (initfile, inputfile, parafile) should be given in order to run the model.
In parafile, there are 40 parameters..
Now I have the observation data of temp, and I would like to apply GA with the objective of minimizing the RMSE beteween observed and modelled temp. Among the 40 parameters of parafile, I just want to 4 of these parameters to e changed in the GA, others should be constant. How can I use GA toolbox or write the code to do so.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by