Skip to content

Commit 9c72ed9

Browse files
authored
Update README.md
1 parent 4fad226 commit 9c72ed9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -150,9 +150,10 @@ The script *script_generate_lmi_latex* generates a latex file for each one of th
150150

151151
# Feasible Region
152152

153-
The use of the command *plot* of *Yalmip* with the constraints (LMis) should show the feasible region. In the particular case of the example given here, one has to change the type of variable *xk* to *sdpvar* and let *Yalmip* do the optimization.   This is what the script *script_generate_feasible_region.m* is supposed to do but unfortunately that is not case. In case somebody spots the mistake, please let me know.
153+
The use of the command *plot* of *Yalmip* with the constraints (LMis) should show the feasible region. In the particular case of the example given here, one has to change the type of variable *xk* to *sdpvar* and let *Yalmip* do the optimization.   This is what the script *script_generate_feasible_region.m* does as can be seen in the figure just below. Note that the simulations shown above agree quite well with the result using *plot*.
154154

155-
As an anternative, I have modified the main script to *script_generate_feasible_region_brute_force.m* to plot the feasible region. Below you will find another example of a feasible region but this time vector B (control) is *B_{2,1}=[0.4;1]*.
155+
![feasreg2](images/feasregp_jianbo_1_u_constraint_N_1_umax_1.png}
156156

157+
To use the brute force method, I have modified the main script to *script_generate_feasible_region_brute_force.m* to plot the feasible region. Below you will find another example of a feasible region but this time vector B (control) is *B_{2,1}=[0.4;1]*.
157158

158-
![feasreg2](images/feasreg_1_u_constraint_N_1_nrep_1000_random.png)
159+
![feasreg3](images/feasreg_1_u_constraint_N_1_nrep_1000_random.png)

0 commit comments

Comments
 (0)