% Descripcion: Datos en modo simulacion
% Planta: Sistema de un tanque
% Formato de datos: t pos vel u ref

data=[
0 0 0 -5 0
0.1 0.64 22.89 -5 0
0.1 2.09 33.52 -5 0
0.2 3.87 37.04 -5 0
0.2 5.72 36.51 -5 0
0.3 7.49 33.77 -5 0
0.3 9.09 29.94 -5 0
0.3 10.48 25.64 -5 0
0.4 11.65 21.24 -5 0
0.4 12.6 16.96 -5 0
0.5 13.35 12.91 -5 0
0.6 13.9 9.12 -5 0
0.6 14.27 5.63 -5 0
0.7 14.47 2.43 -5 0
0.7 14.52 -0.49 -5 0
0.8 14.42 -3.15 -5 0
0.8 14.21 -5.56 -5 0
0.9 13.87 -7.75 -5 0
0.9 13.43 -9.73 -5 0
1 12.9 -11.53 -5 0
1 12.28 -13.16 -5 0
1.1 11.59 -14.63 -5 0
1.1 10.82 -15.96 -5 0
1.2 10 -17.17 -5 0
1.2 9.11 -18.26 -5 0
1.3 8.17 -19.25 -5 0
1.3 7.19 -20.14 -5 0
1.4 6.16 -20.95 -5 0
1.4 5.1 -21.68 -5 0
1.5 3.99 -22.34 -5 0
1.5 2.86 -22.94 -5 0
1.6 1.7 -23.48 -5 0
1.6 0.52 -23.97 -5 0
1.7 359.31 -24.41 -5 0
1.7 358.08 -24.82 -5 0
1.8 356.83 -25.18 -5 0
1.8 355.56 -25.51 -5 0
1.9 354.28 -25.8 -5 0
1.9 352.98 -26.07 -5 0
2 351.67 -26.32 -5 0
2 350.35 -26.54 -5 0
2.1 349.02 -26.73 -5 0
2.1 347.68 -26.91 -5 0
2.2 346.33 -27.08 -5 0
2.2 344.97 -27.22 -5 0
2.3 343.6 -27.36 -5 0
2.3 342.23 -27.48 -5 0
2.3 340.86 -27.59 -5 0
2.4 339.48 -27.69 -5 0
2.4 338.09 -27.78 -5 0
2.5 336.7 -27.86 -5 0
2.5 335.3 -27.93 -5 0
2.6 333.91 -28 -5 0
2.6 332.51 -28.06 -5 0
2.7 331.1 -28.11 -5 0
2.7 329.7 -28.16 -5 0
2.8 328.29 -28.2 -5 0
2.8 326.88 -28.24 -5 0
2.9 325.46 -28.28 -5 0
2.9 324.05 -28.31 -5 0
3 322.63 -28.34 -5 0
3 321.21 -28.37 -5 0
3.1 319.8 -28.39 -5 0
3.1 318.38 -28.42 -5 0
3.2 316.95 -28.44 -5 0
3.2 315.53 -28.45 -5 0
3.3 314.11 -28.47 -5 0
3.3 312.69 -28.48 -5 0
3.4 311.26 -28.5 -5 0
3.4 309.84 -28.51 -5 0
3.5 308.41 -28.52 -5 0
3.5 306.99 -28.53 -5 0
3.6 305.56 -28.54 -5 0
3.6 304.13 -28.55 -5 0
3.7 302.7 -28.55 -5 0
3.7 301.28 -28.56 -5 0
3.8 299.85 -28.57 -5 0
3.8 298.42 -28.57 -5 0
3.9 296.99 -28.58 -5 0
3.9 295.56 -28.58 -5 0
4 294.13 -28.59 -5 0
4 292.71 -28.59 -5 0
4.1 291.28 -28.59 -5 0
4.1 289.85 -28.6 5 0
4.2 288.43 -27.79 5 0
4.2 287.1 -25.22 5 0
4.3 285.92 -21.79 5 0
4.3 284.93 -18.02 5 0
4.4 284.12 -14.2 5 0
4.4 283.5 -10.5 5 0
4.5 283.07 -7.01 5 0
4.5 282.8 -3.75 5 0
4.6 282.69 -0.75 5 0
4.6 282.72 1.99 5 0
4.7 282.88 4.5 5 0
4.7 283.17 6.78 5 0
4.8 283.56 8.85 5 0
4.8 284.05 10.72 5 0
4.9 284.63 12.42 5 0
4.9 285.29 13.96 5 0
5 286.02 15.36 5 0
5 286.82 16.62 5 0
5.1 287.68 17.76 5 0
5.1 288.6 18.8 5 0
5.2 289.56 19.73 5 0
5.2 290.57 20.58 5 0
5.3 291.62 21.34 5 0
5.3 292.7 22.04 5 0
5.4 293.82 22.66 5 0
5.4 294.97 23.23 5 0
5.5 296.14 23.74 5 0
5.5 297.34 24.21 5 0
5.6 298.56 24.63 5 0
5.6 299.81 25.01 5 0
5.7 301.06 25.35 5 0
5.7 302.34 25.66 5 0
5.8 303.63 25.94 5 0
5.8 304.93 26.2 5 0
5.9 306.25 26.43 5 0
5.9 307.58 26.64 5 0
6 308.91 26.82 5 0
6 310.26 26.99 5 0
6.1 311.61 27.15 5 0
6.1 312.98 27.29 5 0
6.2 314.34 27.41 5 0
6.2 315.72 27.53 5 0
6.3 317.1 27.63 5 0
6.3 318.48 27.73 5 0
6.4 319.87 27.81 5 0
6.4 321.26 27.89 5 0
6.5 322.66 27.96 5 0
6.5 324.06 28.02 5 0
6.6 325.46 28.08 5 0
6.6 326.87 28.13 5 0
6.7 328.27 28.17 5 0
6.7 329.68 28.22 5 0
6.8 331.1 28.25 5 0
6.8 332.51 28.29 5 0
6.9 333.93 28.32 5 0
6.9 335.34 28.35 5 0
7 336.76 28.37 5 0
7 338.18 28.4 5 0
7.1 339.6 28.42 5 0
7.1 341.02 28.44 5 0
7.2 342.44 28.45 5 0
7.2 343.87 28.47 5 0
7.3 345.29 28.48 5 0
7.3 346.72 28.49 5 0
7.4 348.14 28.51 5 0
7.4 349.57 28.52 5 0
7.5 350.99 28.53 5 0
7.5 352.42 28.53 5 0
7.6 353.85 28.54 5 0
7.6 355.28 28.55 5 0
7.7 356.7 28.55 5 0
7.7 358.13 28.56 5 0
7.8 359.56 28.57 5 0
7.8 0.99 28.57 5 0
7.9 2.42 28.57 5 0
7.9 3.85 28.58 5 0
8 5.28 28.58 5 0
8 6.7 28.58 5 0
8.1 8.13 28.59 5 0
8.1 9.56 28.59 5 0
8.2 10.99 28.59 5 0
8.2 12.42 28.59 5 0
8.3 13.85 28.6 5 0
8.3 15.28 28.6 5 0
8.4 16.71 28.6 5 0
8.4 18.14 28.6 5 0
8.5 19.57 28.6 5 0
8.5 21.01 28.6 5 0
8.6 22.44 28.6 5 0
8.6 23.87 28.61 5 0
8.7 25.3 28.61 5 0
8.7 26.73 28.61 5 0
8.8 28.16 28.61 5 0
8.8 29.59 28.61 5 0
8.9 31.02 28.61 5 0
8.9 32.45 28.61 5 0
9 33.88 28.61 5 0
9 35.31 28.61 5 0
9.1 36.74 28.61 5 0
9.1 38.17 28.61 -5 0
9.2 39.59 27.8 -5 0
9.2 40.92 25.23 -5 0
9.3 42.1 21.8 -5 0
9.3 43.1 18.03 -5 0
9.4 43.9 14.21 -5 0
9.5 44.52 10.51 -5 0
9.5 44.96 7.01 -5 0
9.6 45.23 3.75 -5 0
9.6 45.34 0.75 -5 0
9.7 45.31 -1.99 -5 0
9.7 45.14 -4.5 -5 0
9.8 44.86 -6.78 -5 0
9.8 44.47 -8.85 -5 0
9.9 43.98 -10.73 -5 0
9.9 43.4 -12.43 -5 0
10 42.74 -13.97 -5 0
10 42.01 -15.36 -5 0
10.1 41.21 -16.63 -5 0
10.1 40.35 -17.77 -5 0
10.2 39.43 -18.8 -5 0
10.2 38.47 -19.74 -5 0
10.3 37.46 -20.58 -5 0
10.3 36.41 -21.35 -5 0
10.4 35.33 -22.04 -5 0
10.4 34.21 -22.67 -5 0
10.5 33.06 -23.24 -5 0
10.5 31.89 -23.75 -5 0
10.6 30.69 -24.21 -5 0
10.6 29.47 -24.63 -5 0
10.7 28.23 -25.02 -5 0
10.7 26.97 -25.36 -5 0
10.8 25.69 -25.67 -5 0
10.8 24.4 -25.95 -5 0
10.9 23.1 -26.21 -5 0
10.9 21.78 -26.44 -5 0
11 20.45 -26.64 -5 0
11 19.12 -26.83 -5 0
11.1 17.77 -27 -5 0
11.1 16.42 -27.16 -5 0
11.2 15.06 -27.3 -5 0
11.2 13.69 -27.42 -5 0
11.3 12.31 -27.54 -5 0
11.3 10.94 -27.64 -5 0
11.4 9.55 -27.74 -5 0
11.4 8.16 -27.82 -5 0
11.5 6.77 -27.9 -5 0
11.5 5.37 -27.97 -5 0
11.6 3.97 -28.03 -5 0
11.6 2.57 -28.09 -5 0
11.7 1.17 -28.14 -5 0
11.7 359.76 -28.18 -5 0
11.8 358.35 -28.23 -5 0
11.8 356.94 -28.26 -5 0
11.9 355.52 -28.3 -5 0
11.9 354.11 -28.33 -5 0
12 352.69 -28.36 -5 0
12 351.27 -28.38 -5 0
12.1 349.85 -28.41 -5 0
12.1 348.43 -28.43 -5 0
12.2 347.01 -28.45 -5 0
12.2 345.59 -28.46 -5 0
12.3 344.16 -28.48 -5 0
12.3 342.74 -28.49 -5 0
12.4 341.32 -28.5 -5 0
12.4 339.89 -28.52 -5 0
12.5 338.46 -28.53 -5 0
12.5 337.04 -28.54 -5 0
12.6 335.61 -28.54 -5 0
12.6 334.18 -28.55 -5 0
12.7 332.76 -28.56 -5 0
12.7 331.33 -28.56 -5 0
12.8 329.9 -28.57 -5 0
12.8 328.47 -28.58 -5 0
12.9 327.04 -28.58 -5 0
12.9 325.61 -28.58 -5 0
13 324.19 -28.59 -5 0
13 322.76 -28.59 -5 0
13.1 321.33 -28.59 -5 0
13.1 319.9 -28.6 -5 0
13.2 318.47 -28.6 -5 0
13.2 317.04 -28.6 -5 0
13.3 315.61 -28.6 -5 0
13.3 314.18 -28.61 -5 0
13.4 312.75 -28.61 -5 0
13.4 311.32 -28.61 -5 0
13.5 309.89 -28.61 -5 0
];

t=data(:,1);
pos=data(:,2);
vel=data(:,3);
u=data(:,4);
ref=data(:,5);
plot([t'],[pos']);
plot([t'],[vel']);