Question: ` ` ` GTO.m main.m & ObjectiveFunction.m ` ` ` function [ lb , ub , dim, fobj ] = ObjectiveFunction ( F 1 )

```
GTO.m
main.m & ObjectiveFunction.m
```
function [lb, ub, dim, fobj]= ObjectiveFunction(F1)
\% change this file according to your objective function
Y=trapz('Z.^2');
global Ki
global Kp
switch F
case 'Fl'
fobj =@Fl;
dim=8;
end
function \(\mathrm{Y}=\mathrm{Fl}(\mathrm{X})\)
global Ki
global Kp
sim('power_SOFCll.slx')
Ki
Kp;
\(\mathrm{Y}=\mathrm{Z}\)(end, : )
` ` ` GTO.m main.m & ObjectiveFunction.m ` ` `

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!