diff options
author | Nao Pross <np@0hm.ch> | 2023-05-24 16:39:28 +0200 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2023-05-24 16:55:13 +0200 |
commit | 532c9636258f779955ec5ff7aba7c45ac64146e4 (patch) | |
tree | 6725ffa3df5d23593eac23015c09ada4c9263aab /templates/MPC_TS_SC_script.m | |
parent | Take deliverables for MPC with theoretical closed-loop guarantees (diff) | |
download | mpc_pe-532c9636258f779955ec5ff7aba7c45ac64146e4.tar.gz mpc_pe-532c9636258f779955ec5ff7aba7c45ac64146e4.zip |
Take deliverables for soft contraints from yuanxu
Acording to table 9
- MPC_TS_SC
- MPC_TS_SC/eval
- MPC_TS_SC_script (.m and MPC_TS_SC_params.mat output file)
Diffstat (limited to 'templates/MPC_TS_SC_script.m')
-rw-r--r-- | templates/MPC_TS_SC_script.m | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/MPC_TS_SC_script.m b/templates/MPC_TS_SC_script.m new file mode 100644 index 0000000..9499cf1 --- /dev/null +++ b/templates/MPC_TS_SC_script.m @@ -0,0 +1,14 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Copyright (c) 2023, Amon Lahr, Simon Muntwiler, Antoine Leeman & Fabian Flürenbrock Institute for Dynamic Systems and Control, ETH Zurich. +% +% All rights reserved. +% +% Please see the LICENSE file that has been included as part of this package. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +S=100000000*eye(6); +v=100000000; +matfile=struct("S",S,"v",v); +save("MPC_TS_SC_params.mat","-struct","matfile") + + |