Info

This question is closed. Reopen it to edit or answer.

Find the Optimum response using Particle Swarm Optimization, MATLAB

1 view (last 30 days)
Good day all, before that, I would like to say that I have almost zero knowledge in programming and the usage of MATLAB in order to use PSO, but is required to find the optimum response, therefore I'm seeking help from community for the codes to be use in MATLAB. The equations are below
Yresp = General Linear Regression Model
Y = 77.7714-4.0121X1-5.1732X2-1.3621X3-3.3208X4+0.0203X5+0.3506X1X2+0.2733X1X3-0.6164X1X4-3.0263X1X5+0.3233X2X3+0.1145X2X4-0.7005X2X5+0.4521X3X4+0.1447X3X5-1.3510X4X5+1.6227X1X2X3-1.0519X1X2X4-0.5056X1X2X5-0.6710X1X3X4-0.0797X1X3X5+0.3203X1X4X5-1.4665X2X3X4+0.7967X2X3X5+0.1774X2X4X5+0.2098X3X4X5-1.1198X1X2X3X4-0.8109X1X2X3X5-0.7844X1X2X4X5-0.0956X1X3X4X5+0.0525X2X3X4X5-0.7814X1X2X3X4X5
Yresp = Response Surface Regression Model
Y = 90.0188-4.0121X1-5.1732X2-1.3621X3-3.3208X4+0.0203X5-10.7761X22-6.8134X42- 0.7815X52+0.3506X1X2+0.2733X1X3-0.6164X1X4-3.0263X1X5+0.3233X2X3+0.1145X2X4-0.7005X2X5+0.4521X3X4+0.1447X3X5-1.3510X4X5
Whereby X1 has the factors of -1 & 1 X2 has the factors of -1,0 & 1 X3 has the factors of -1 & 1 X4 has the factors of -1,0&1 X5 has the factors of -1,0&1
The answer displayed should only be in -1/1 for X1 and the same for the rest with 2 factors and for 3 factor X's, they would have a answer displayed as -1/0/1.
Please help! thanks!

Answers (0)

Community Treasure Hunt

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

Start Hunting!