MATLAB Command History
MATLAB Command History
figure;plot(zs)
figure;plot(zs_dot)
figure;plot(theta)
figure;plot(theta_dot)
figure;plot(theta_2dot)
figure;plot(uf)
Parameter
figure;plot(uf)
figure;plot(zr)
figure;plot(zs_2dot)
figure;plot(theta_2dot)
Parameter
figure;plot(theta_2dot)
figure;plot(theta_dot)
figure;plot(theta)
figure;plot(zr)
figure;plot(zs)
figure;plot(zs_dot)
figure;plot(zs_2dot)
figure;plot(uf)
figure;plot(ur)
figure;plot(uf)
hold on
plot(ur,'r')
Parameter
figure;plot(zs_2dot)
figure;plot(uf)
figure;plot(ur)
figure;plot(uf+ur)
figure;plot(es_z1)
figure;plot(m1_dot)
Parameter
figure;plot(zr)
figure;plot(zs_2dot)
Parameter
figure;plot(zr)
figure;plot(zs_2dot)
figure;plot(uf)
Iyy
1/Iyy
Parameter
Iyy
1/Iyy
Parameter
figure;plot(uf)
figure;plot(zs_2dot)
figure;plot(zs)
Parameter
figure;plot(zs_2dot)
load('APPC.mat')
figure;plot(zs_2dot)
Parameter
figure;plot(zr)
Parameter
figure;plot(zs_2dot)
figure;plot(uf+ur)
figure;plot(zr)
figure;plot(Fsf)
Parameter
%-- 09/11/2018 8:51 AM --%
Untitled
load('imDO_FDSMC1.mat')
clear
clc
Main
clear
clc
Main
clear
clc
Main
clear
clc
Main
clear
clc
Main
clear
clc
Main
Parameter
sim('imDO_FDSMC1')
Parameter
sim('imDO_FDSMC1')
figure;plot(zr)
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(zr)
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(zr)
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(zr)
figure;plot(x2dot)
anisotropy_modified
clear
clc
Main
Parameter
sim('imDO_FDSMC1')
figure;plot(zr)
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
MATLAB Command History Page 3
May 7, 2019 3:46:17 PM
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
clear
clc
Main
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('Passive1')
figure;plot(x2dot)
clear
clc
Main
Parameter
sim('Passive1')
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
clear
clc
Main
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
load('imDO_FDSMC.mat')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
MATLAB Command History Page 4
May 7, 2019 3:46:17 PM
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
load('imDO_FDSMC1.mat')
figure;plot(x2dot)
clear
clc
load('imDO_FDSMC.mat')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Main
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(zr)
Parameter
sim('passive')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
load('imDO_FDSMC1.mat')
figure;plot(x2dot)
load('Passive1.mat')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(d)
figure;plot(kt)
figure;plot(ktt)
40800000-36800000
ans*0.1
103000-81400
ans-2160
Parameter
figure;plot(mst)
figure;plot(ktt)
figure;plot(ctt)
figure;plot(x2dot)
Parameter
figure;plot(mst)
figure;plot(ktt)
figure;plot(ctt)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(ktt)
figure;plot(mst)
figure;plot(d)
Parameter
figure;plot(d)
figure;plot(x2dot)
load('imDO_FDSMC1.mat')
figure;plot(x2dot)
figure;plot(d)
Parameter
figure;plot(d)
figure;plot(x2dot)
figure;plot(mst)
figure;plot(ktt)
figure;plot(ctt)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
clear
clc
Main
%-- 10/11/2018 4:22 PM --%
p = param.Continuous('x',1)
opts = sdo.OptimizeOptions
opts.GradFcn = 'on'
[pOpt,opt_info] = sdo.optimize(@(p) sdoExampleCostFunction(p),p,opts)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
MATLAB Command History Page 5
May 7, 2019 3:46:17 PM
sim('imDO_FDSMC')
figure;plot(x2dot)
Main
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
Parameter
figure;plot(x2dot)
%-- 12/11/2018 11:12 AM --%
Parameter
figure;plot(zr)
figure;plot(x2dot)
Parameter
figure;plot(zr)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(zr)
Parameter
figure;plot(zr)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(zr)
figure;plot(x2dot)
figure;plot(x1)
figure;plot(x2)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(zr)
Parameter
figure;plot(zr)
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x2dot)
Parameter
figure;plot(zr)
figure;plot(x2dot)
Parameter
figure;plot(zr)
figure;plot(x2dot)
Parameter
figure;plot(zr)
figure;plot(x2dot)
figure;plot(uc)
figure;plot(d)
figure;plot(un)
Parameter
figure;plot(zr)
figure;plot(x2dot)
figure;plot(uc)
figure;plot(us)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(zr)
Parameter
figure;plot(zr)
Parameter
figure;plot(zr)
Parameter
figure;plot(zr)
h = 0.1; % Bump's heigh (m)
D = 6.5; % Bump's width (m)
omega = pi*v/D; % Lengh of wave(m)
omega
sin(omega*t)
Parameter
figure;plot(zr)
Parameter
figure;plot(zr)
Parameter
figure;plot(zr)
Parameter
figure;plot(zr)
Parameter
figure;plot(zr)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(zr)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(zr)
figure;plot(x2dot)
Parameter
MATLAB Command History Page 6
May 7, 2019 3:46:17 PM
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(zr)
Parameter
figure;plot(zr)
figure;plot(x2dot)
figure;plot(d)
figure;plot(mst)
figure;plot(ktt)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
load('Passive1.mat')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
load('Passive1.mat')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
clear
clc
Main
clear
clc
Main
Parameter
sim('imDO_FDSMC1')
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
clear
clc
Main
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Main
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
sim('imDO_FDSMC1')
MATLAB Command History Page 7
May 7, 2019 3:46:17 PM
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
clc
clear
Main
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Main
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Main
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Main
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
RankReproduce
Main
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Main
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Main
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Main
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Main
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Main
Parameter
sim('imDO_FDSMC1')
Parameter
sim('Copy_of_imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('Copy_of_imDO_FDSMC1')
figure;plot(x2dot)
load('Passive1.mat')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(uc)
Parameter
figure;plot(uc)
figure;plot(x2dot)
Main
clear
clc
Main
k0=5.1270;k1=1.7245;k2 = 27.2368;alfa=0.9385;
sim('imDO_FDSMC1')
figure;plot(x2dot)
%-- 13/11/2018 8:49 AM --%
Main
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Main
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
%-- 21/11/2018 12:55 PM --%
clear
clc
Main
clear
clc
Main
clc
100*100*5*18
ans*2/900
50*5*50*18
ans*2/900
20*20*5*18
*2/900
ans*2/900
Main
load('luu_SMC.mat')
Main
%-- 27/11/2018 8:45 AM --%
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
load('Passive1_bump.mat')
figure;plot(x2dot)
load('imDO_FDSMC1_bump.mat')
figure;plot(x2dot)
MATLAB Command History Page 8
May 7, 2019 3:46:17 PM
Parameter
figure;plot(x2dot)
figure;plot(S)
figure;plot(sigma)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(x2dot)
figure;plot(u)
figure;plot(sigma)
figure;plot(p)
figure;plot(es_d)
Parameter
sim('LDO_SMC1')
figure;plot(x2dot)
m1 = 2e-3
0.0002
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x2dot)
Parameter
figure;plot(zr)
figure;plot(x2dot)
figure;plot(Fsd)
figure;plot(Ft)
figure;plot(Fr)
figure;plot(u)
figure;plot(Fmr)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(u)
figure;plot(Fmr)
figure;plot(ueq)
figure;plot(un)
Parameter
figure;plot(un)
figure;plot(ueq)
figure;plot(Fmr)
Parameter
figure;plot(x2dot)
figure;plot(u)
figure;plot(un)
Parameter
figure;plot(x2dot)
figure;plot(un)
figure;plot(Fmr)
figure;plot(u)
Parameter
figure;plot(u)
figure;plot(un)
Parameter
figure;plot(un)
Parameter
%-- 27/11/2018 4:08 PM --%
Parameter
figure;plot(un)
Parameter
figure;plot(un)
figure;plot(p_dot)
figure;plot(es_d)
ms0/k0
350*4
figure;plot(-350*es_d.data)
Parameter
figure;plot(un)
figure;plot(p)
figure;plot(omega*sigma)
figure;plot(p+omega*sigma)
figure;plot(350*(p+omega*sigma))
figure;plot(p)
Parameter
figure;plot(p)
figure;plot(un)
Parameter
figure;plot(p)
figure;plot(un)
figure;plot(u)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(un)
Parameter
figure;plot(un)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(u)
figure;plot(un)
figure;plot(es_d)
Parameter
figure;plot(un)
Parameter
figure;plot(un)
Parameter
figure;plot(un)
Parameter
figure;plot(un)
Parameter
figure;plot(un)
figure;plot(u)
Parameter
figure;plot(p)
figure;plot(un)
MATLAB Command History Page 9
May 7, 2019 3:46:17 PM
figure;plot(Fmr)
figure;plot(x2dot)
Parameter
figure;plot(ueq)
figure;plot(un)
Parameter
figure;plot(un)
figure;plot(p)
figure;plot(p+omega*sigma)
figure;plot(-k0/ms0*(p+omega*sigma))
figure;plot(-k0/ms0*(p.data+omega*sigma.data))
-k0/ms0
Parameter
figure;plot(un)
figure;plot(-k0/ms0*(p.data+omega*sigma.data))
Parameter
figure;plot(un)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(un)
Parameter
figure;plot(x2dot)
figure;plot(un)
figure;plot(p)
Parameter
figure;plot(u)
figure;plot(un)
Parameter
figure;plot(u)
figure;plot(Fmr)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(u)
figure;plot(un)
figure;plot(Nv)
Parameter
figure;plot(u)
figure;plot(x2dot)
figure;plot(zr)
Parameter
figure;plot(x2dot)
figure;plot(x1)
Parameter
figure;plot(x2dot)
figure;plot(u)
figure;plot(x1)
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x3)
figure;plot(x4)
figure;plot(x4dot)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(x1)
figure;plot(x2)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(zr)
figure;plot(x2dot)
tanh(2)
sign(-5)
Parameter
figure;plot(es_theta2_T)
Parameter
%-- 28/11/2018 8:41 AM --%
Parameter
figure;plot(x2dot)
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
figure;plot(u.uf.time,u.uf.data+u.ur.data)
Parameter
figure;plot(zs_2dot)
figure;plot(zr)
figure;plot(zs)
Parameter
figure;plot(zr)
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(zr)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(zs_2dot)
load('imDO_FDSMC_nondis_bump.mat')
figure;plot(x2dot)
load('Passive_nondis_bump.mat')
figure;plot(x2dot)
Main
clear
clc
Main
clear
clc
Main
Parameter
39*0.3
Parameter
figure;plot(x2dot)
Parameter
MATLAB Command History Page 10
May 7, 2019 3:46:17 PM
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(u)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(p)
figure;plot(es_d)
Parameter
figure;plot(es_d)
Parameter
figure;plot(es_d)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(u)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(u)
Parameter
figure;plot(x2dot)
load('Passive_nondis_bump.mat')
figure;plot(x2dot)
%-- 28/11/2018 2:01 PM --%
load('imDO_FDSMC_nondis_bump.mat')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
MATLAB Command History Page 11
May 7, 2019 3:46:17 PM
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
clear
clc
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Main
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(zr)
Parameter
figure;plot(zr)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
load('Passive_nondis_road3.mat')
figure;plot(x2dot)
load('Skyhook_nondis_road3.mat')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
load('SARC_nondis_road1.mat')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
%-- 28/11/2018 3:37 PM --%
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(zs_2dot)
load('APPC_nondis_bump.mat')
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(d)
Parameter
figure;plot(d)
ms*0.2*10
figure;plot(zs_2dot)
figure;plot(x2dot)
load('Passive_nondis_road3.mat')
MATLAB Command History Page 12
May 7, 2019 3:46:17 PM
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(d)
Parameter
figure;plot(d)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(d)
Parameter
figure;plot(d)
figure;plot(x2dot)
load('Passive_nondis_road3.mat')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(d)
Parameter
d
save('dt.mat','d')
clear
clc
load('dt')
Parameter
figure;plot(d)
figure;plot(x2dot)
load('Passive_nondis_road3.mat')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(d)
Parameter
figure;plot(x2dot)
figure;plot(d)
Parameter
load('Passive_nondis_bump.mat')
figure;plot(d)
figure;plot(x2dot)
load('Passive_dis_bump.mat')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(d)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Main
load('Skyhook_dis_bump.mat')
figure;plot(x2dot)
load('APPC_dis_bump.mat')
figure;plot(zs_2dot)
load('APPC_nondis_bump.mat')
figure;plot(zs_2dot)
load('imDO_FDSMC_dis_bump.mat')
hold on
plot(x2dot,'r')
load('Passive_dis_bump.mat')
hold on
plot(x2dot,'m')
legend 'imDO-SMC' 'APPC' 'Passive'
Parameter
figure;plot(zs_2dot)
Parameter
hold on
plot(x2dot,'r')
Parameter
plot(x2dot,'m')
figure;plot(zr)
figure;plot(d)
load('2.mat')
clear
load('2.mat')
figure;plot(zr.time,zr.data,x2dot.time,x2dot.data,'r')
figure;plot(x1.data,x2dot.data)
hold on
load('APPC_dis_bump.mat')
plot(x1.data,x2dot.data,'r')
figure;plot(x1.data,x2dot.data)
hold on
plot(zs.data,zs_2dot.data,'r')
load('Skyhook_dis_bump.mat')
hold on
plot(x1.data,x2dot.data,'m')
load('Passive_dis_bump.mat')
hold on
plot(x1.data,x2dot.data,'y')
load('Passive_dis_bump.mat')
figure;plot(x1.data,x2dot.data)
load('Skyhook_dis_bump.mat')
plot(x1.data,x2dot.data,'m')
load('Passive_dis_bump.mat')
figure;plot(x1.data,x2dot.data)
hold on
load('Skyhook_dis_bump.mat')
plot(x1.data,x2dot.data,'m')
load('APPC_dis_bump.mat')
plot(zs.data,zs_2dot.data,'r')
load('2.mat')
plot(x1.data,x2dot.data,'y')
Parameter
hold off
figure;plot(x2dot)
hold on
MATLAB Command History Page 13
May 7, 2019 3:46:17 PM
Parameter
plot(x2dot,'r')
figure;plot(u)
load('imDO_FDSMC_dis_road3.mat')
figure;plot(zr)
figure;plot(x2dot)
load('Passive_dis_road3.mat')
plot(x2dot,'r')
figure;plot(x2dot)
hold on
load('imDO_FDSMC_dis_road3.mat')
plot(x2dot,'r')
load('Passive_dis_road1.mat')
figure;plot(x2dot)
load('imDO_FDSMC_dis_road1.mat')
hold on
plot(x2dot,'r')
figure;plot(zr)
load('imDO_FDSMC_dis_bump.mat')
figure;plot(zr)
load('imDO_FDSMC_dis_road1.mat')
figure;plot(zr)
load('imDO_FDSMC_dis_road2.mat')
figure;plot(zr)
load('imDO_FDSMC_dis_road3.mat')
figure;plot(zr)
clear
clc
Parameter
figure;plot(zr)
Parameter
figure;plot(zr)
Parameter
figure;plot(zr)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x1)
Parameter
figure;plot(x1)
Parameter
figure;plot(zr)
Parameter
figure;plot(zr)
Parameter
figure;plot(zr)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(zr)
Parameter
figure;plot(zr)
Parameter
figure;plot(zr)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(zr)
Parameter
figure;plot(zr)
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x2dot)
%-- 28/11/2018 8:55 PM --%
Parameter
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(zr)
figure;plot(x2dot)
clear
load('imDO_FDSMC_nondis_road1.mat')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(zr)
load('Passive_dis_road2.mat')
figure;plot(x2dot)
load('Passive_nondis_road2.mat')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(u)
figure;plot(Fmr)
figure;plot(un)
figure;plot(x2dot)
load('imDO_FDSMC_nondis_road2.mat')
figure;plot(x2dot)
figure;plot(zr)
MATLAB Command History Page 14
May 7, 2019 3:46:17 PM
Parameter
figure;plot(zr)
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(zr)
Parameter
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x2dot)
figure;plot(zr)
Parameter
%-- 29/11/2018 8:36 AM --%
Parameter
figure;plot(zr)
figure;plot(x2dot)
Parameter
figure;plot(zr)
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x2dot)
mean(x2dot.data)
sum(abs(x2dot.data))
random('uni',2,30)
disturb = 0.005*sin(random('uniform',2,30)*pi*t);
t=1
disturb = 0.005*sin(random('uniform',2,30)*pi*t);
disturb = 0.005*sin(random('uniform',2,30)*pi*t)
t = [0:0.001:15];
disturb = 0.005*sin(random('uniform',2,30)*pi*t);
figure;plot(disturb)
figure;plot(zr)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x2dot)
figure;plot(x1)
figure;plot(x2)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
40*0.3
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
MATLAB Command History Page 15
May 7, 2019 3:46:17 PM
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
load('Passive_nondis_road2.mat')
figure;plot(x2dot)
load('SARC_nondis_road2.mat')
figure;plot(u)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
load('Passive_nondis_road1.mat')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
load('Passive_nondis_road1.mat')
figure;plot(x2dot)
mean(x2dot.data)
Parameter
mean(x2dot.data)
sum(abs(x2dot.data))
figure;plot(x1)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
figure;plot(d)
load('imDO_FDSMC_nondis_road1.mat')
figure;plot(d)
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
figure;plot(d)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Main
clear
MATLAB Command History Page 16
May 7, 2019 3:46:17 PM
clc
Main
Parameter
sim('imDO_FDSMC1')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
%-- 30/11/2018 10:37 AM --%
Parameter
load('Passive_dis_road2.mat')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
sim('imDO_FDSMC')
figure;plot(x2dot)
ms*0.9
ms*1.1
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
load('imDO_FDSMC_dis_road2.mat')
figure;plot(u)
Parameter
figure;plot(u)
figure;plot(x2dot)
Parameter
figure;plot(k2t)
figure;plot(z)
Parameter
figure;plot(k2t)
figure;plot(z)
figure;plot(d)
figure;plot(uc)
Parameter
figure;plot(x2dot)
figure;plot(uc)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
figure;plot(d)
d_dot = diff(d.data)
max(d_dot)
max(abs(d_dot))
figure;plot(d_dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
sim('imDO_FDSMC')
figure;plot(x2dot)
clear
clc
Main
load('APPC_dis_road1.mat')
figure;plot(d)
Parameter
sim('imDO_FDSMC')
figure;plot(d)
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
MATLAB Command History Page 17
May 7, 2019 3:46:17 PM
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Main
clear
clc
close all
Main
load('APPC_dis_road1.mat')
figure;plot(d)
Parameter
sim('imDO_FDSMC')
figure;plot(mst)
390*0.1
390*0.9
390*1.1
Main
390*1.1
Main
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
%-- 30/11/2018 3:57 PM --%
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
figure;plot(energy)
Parameter
clear
clc
Parameter
figure;plot(x2dot)
figure;plot(energy)
figure;plot(x2)
clear
clc
t = [0:0.01:10]
a = 2;b = 3;omega = 2*pi;
x1 = a*cos(omega*t);
x2 = b*sin(omega*t);
figure;plot(t,x1,t,x2,'r')
x = x1 + x2;
figure;plot(t,x)
%-- 30/11/2018 6:20 PM --%
load('imDO_FDSMC_dis_road2.mat')
figure;plot(d)
max(abs(d.data))
Parameter
sim('imDO_FDSMC')
Parameter
sim('imDO_FDSMC')
Parameter
figure;plot(d)
figure;plot(x2dot)
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
%-- 01/12/2018 10:25 AM --%
Parameter
figure;plot(x2dot)
figure;plot(k2t)
figure;plot(S)
figure;plot(DS)
figure;plot(S.time,S.data.*DS.data)
Parameter
figure;plot(x2dot)
figure;plot(k2t)
figure;plot(new_k2t)
figure;plot(x2dot)
figure;plot(new_k2t)
figure;plot(k2t)
figure;plot(S.time,S.data.*DS.data)
Parameter
figure;plot(x2dot)
figure;plot(new_k2t)
figure;plot(k2t)
figure;plot(S.time,S.data.*DS.data)
load('imDO_FDSMC_dis_road2.mat')
figure;plot(S.time,S.data.*DS.data)
figure;plot(S)
Parameter
Main
%-- 01/12/2018 12:51 PM --%
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC')
Parameter
sim('imDO_FDSMC')
Parameter
sim('imDO_FDSMC')
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
load('imDO_FDSMC_dis_road2.mat')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
MATLAB Command History Page 18
May 7, 2019 3:46:17 PM
sim('imDO_FDSMC')
figure;plot(x2dot)
clear
clc
load('imDO_FDSMC_dis_road2.mat')
figure;plot(x2dot)
figure;plot(S.time,S.data.*DS.data)
Parameter
sim('imDO_FDSMC')
figure;plot(S.time,S.data.*DS.data)
figure;plot(x2dot)
figure;plot(S)
figure;plot(DS)
clear
clc
load('imDO_FDSMC_dis_road2.mat')
figure;plot(x2dot)
figure;plot(S)
figure;plot(DS)
figure;plot(S.time,S.data.*DS.data)
figure;plot(k2t)
Parameter
sim('imDO_FDSMC')
figure;plot(x2dot)
figure;plot(S)
figure;plot(S.time,S.data.*DS.data)
Parameter
figure;plot(x2dot)
figure;plot(S)
figure;plot(DS)
figure;plot(S.time,S.data.*DS.data)
figure;plot(k2t)
Main
clear
clc
Main
clear
clc
Main
clear
clc
k0 = 24;%17; % [17:280]
k1 = 3.068974709717470;%11; % [11:43] k1>0
k2 = 10.969632628832800;%16; % [16:302] k2>1
alfa = 0.972956529450715;%0.9; % [0.9:0.98]
eps = 0.05; % good
msmin = 350;
msmax = 430;
l2 = msmax;%msmax;
om = 1.7; % good
Parameter
figure;plot(x2dot)
Parameter
load('imDO_FDSMC_dis_road2.mat')
figure;plot(x2dot)
figure;plot(k2t)
figure;plot(S)
figure;plot(DS)
Parameter
figure;plot(x2dot)
figure;plot(k2t)
figure;plot(S)
figure;plot(DS)
figure;plot(S.time,S.data.*DS.data)
clear
clc
Main
Parameter
sim('imDO_FDSMC_test2')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test2')
figure;plot(x2dot)
Main
Parameter
sim('imDO_FDSMC_test3')
figure;plot(x2dot)
%-- 01/12/2018 8:52 PM --%
Parameter
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test3')
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(u)
%-- 03/12/2018 2:28 PM --%
Main
Parameter
sim('imDO_FDSMC_test_2_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_2_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_2_12');
figure;plot(x2dot)
hmt_SMC
clear
clc
hmt_SMC
Main
Parameter
sim('imDO_FDSMC_test_2_12');
figure;plot(x2dot)
min(abs(x2dot.data))
max(abs(x2dot.data))
Parameter
sim('imDO_FDSMC_test_2_12');
figure;plot(x2dot)
MATLAB Command History Page 19
May 7, 2019 3:46:17 PM
max(abs(x2dot.data))
Parameter
sim('imDO_FDSMC_test_2_12');
figure;plot(x2dot)
max(abs(x2dot.data))
Parameter
sim('imDO_FDSMC_test_2_12');
figure;plot(x2dot)
Main
Parameter
sim('imDO_FDSMC_test_2_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
figure;plot(us)
figure;plot(uc)
figure;plot(u)
figure;plot(k2t)
Main
Parameter
sim('imDO_FDSMC_test2_3_12');
Parameter
sim('imDO_FDSMC_test2_3_12');
Parameter
sim('imDO_FDSMC_test2_3_12');
Parameter
sim('imDO_FDSMC_test2_3_12');
Parameter
sim('imDO_FDSMC_test2_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test2_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test2_3_12');
figure;plot(x2dot)
Main
clear
clc
Main
Parameter
sim('imDO_FDSMC_test2_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test2_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
MATLAB Command History Page 20
May 7, 2019 3:46:17 PM
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
s
sim('imDO_FDSMC_test3_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test3_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test3_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test3_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
20*20*5*18
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
s
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
Parameter
sim('imDO_FDSMC_test3_3_12');
figure;plot(x2dot)
load('imDO_FDSMC_dis_road2.mat')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test3');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test3');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3/12');
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
MATLAB Command History Page 21
May 7, 2019 3:46:17 PM
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
s
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
Main
%-- 03/12/2018 3:59 PM --%
load('imDO_FDSMC_test.mat')
figure;plot(x2dot)
load('imDO_FDSMC_test2.mat')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC_test3');
Main
load('Passive_dis_road2.mat')
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC');
figure;plot(x2dot)
Parameter
sim('imDO_FDSMC');
figure;plot(x2dot)
Main
clear
clc
close all
clear all
clc
Vidu1
%-- 03/12/2018 5:12 PM --%
Main
Vidu1
A = [9 0 -7 5 3 8 -10 4 2];
[B,ia] = sort(A)
Vidu1
Parameter
sim('imDO_FDSMC_test_3_12');
figure;plot(x2dot)
save(a,'cs1')
save(a.mat,'cs1')
save('cs1')
clear
load('cs1.mat')
save('cs1','v')
clear
clc
load('cs1.mat')
load('luu.mat')
load('sensor.mat')
clear
clc
load('sensor.mat')
sim('imDO_FDSMC_test_3_12');
save('k0','k0')
sim('imDO_FDSMC_test_3_12');
k=2;
clear
c;c
clc
k=2;
sim('test_DE');
figure;plot(a)
k=-2;
sim('test_DE');
figure;plot(a)
k=-4;
sim('test_DE');
figure;plot(a)
k=0.5*pi;
k=-0.5*pi;
MATLAB Command History Page 22
May 7, 2019 3:46:17 PM
sim('test_DE');
figure;plot(a)
k=0.5*pi;
sim('test_DE');
figure;plot(a)
Vidu1
clear
clc
Vidu1
clear
k=814.8198
sim('test_DE');
figure;plot(a)
m=2;
sim('test_DE');
figure;plot(a)
Vidu1
k=805.6682;
m=506.5910;
sim('test_DE');
figure;plot(a)
clear
clc
load('sensor');
Vidu1
k= 874.4633 ;
m= 60.9501;
sim('test_DE');
figure;plot(a)
Vidu1
k=247.5030;m=3.1696;
sim('test_DE');
figure;plot(a)
clear
clc
load('sensor.mat')
sim('test_DE');
figure;plot(a)
Vidu1
k=488.3666 ;m= 276.0176
figure;plot(a)
sim('test_DE');
figure;plot(a)
Vidu1
k= 165.5238;m= 591.3817;
sim('test_DE');
figure;plot(a)
clear
clc
load('result','happy');
max(abs(happy.data))
figure;plot(happy)
hmtDE
Vidu1
%-- 04/12/2018 8:38 AM --%
as
asd
asd
asd
home
ver
nextpow2(100)
7^2
2^7
clock
calendar(2018,12)
i=[1:10];
for i
for i>5
for i>=5
whike i>=5
while i>=5
disp('count')
end
clear
clc
[u,t] = gensig('square',4,10,0.1);
H = [tf([2 5 1],[1 2 3]);tf = ([1 -1],[1 1 5])
H = [tf([2 5 1],[1 2 3]);tf([1 -1],[1 1 5])
lsim(H,u,t)
]
H = [tf([2 5 1],[1 2 3]);tf([1 -1],[1 1 5])]
lsim(H,u,t)
Parameter
simout('imDO_FDSMC_3_12');
simOut('imDO_FDSMC_3_12');
Main_optimization
%-- 04/12/2018 11:07 AM --%
in = simulink.simulationinput('test_DE')
in = Simulink.SimulationInput('test_DE')
in = in.setBlockParameter('test_DE/Constant','Value','2');
in = in.setBlockParameter('test_DE/Constant1','Value','0.5*pi');
sim('test_DE')
figure;plot(a)
simOut = sim('test_DE','ReturnWorkspaceOutputs','on')
clear
simOut = sim('test_DE','ReturnWorkspaceOutputs','on')
Vidu1
clear
sim('test_DE.slx','ReturnWorkspaceOutputs','on');
fpenal = max(abs(result.a.data))
fpenal = max(abs(ans.a.data))
Vidu1
clear
in = in.setBlockParameter('test_DE/Constant_freq','Value','0.5*pi');
in = in.setBlockParameter('test_DE/Constant_freq','Value','0.5*pi','test_DE/Constant_amp','Value','2');
in = Simulink.SimulationInput('test_DE');
in = in.setBlockParameter('test_DE/Constant_freq','Value','0.5*pi','test_DE/Constant_amp','Value','2');
clear
in = Simulink.SimulationInput('test_DE');
in = in.setBlockParameter('test_DE/Constant_freq','Value','0.5*pi','test_DE/Constant_amp','Value','2');
sim('test_DE.slx','ReturnWorkspaceOutputs','on');
fpenal = max(abs(ans.a.data))
figure;plot(ans.a)
clearin = Simulink.SimulationInput('test_DE');
clear
in = Simulink.SimulationInput('test_DE');
in = in.setBlockParameter('test_DE/k','Value','2','test_DE/m','Value','0.5*pi');
in = in.setBlockParameter('test_DE/Constant','Value','2','test_DE/m','Value','0.5*pi');
in = in.setBlockParameter('test_DE/Constant_amp','Value','2','test_DE/m','Value','0.5*pi');
in = in.setBlockParameter('test_DE/Constant_amp','Value','2','test_DE/Constan_freq','Value','0.5*pi');
in = in.setBlockParameter('test_DE/Constant_amp','Value','2','test_DE/Constant_freq','Value','0.5*pi');
in = in.setBlockParameter('test_DE/Constant_amp','Constant Value','2','test_DE/Constant_freq','Constant Value','0.5*pi');
MATLAB Command History Page 23
May 7, 2019 3:46:17 PM
result = sim('test_DE.slx','ReturnWorkspaceOutputs','on');
figure;plot(result.a)
clear
clc
in = Simulink.SimulationInput('test_DE');
in = in.setBlockParameter('test_DE/Constant_amp','ConstantValue','2','test_DE/Constant_freq','ConstantValue','0.5*pi');
result = sim('test_DE.slx','ReturnWorkspaceOutputs','on');
figure;plot(result.a)
clear
in = Simulink.SimulationInput('test_DE');
in = in.setBlockParameter('test_DE/Constant_amp','Constant value','2','test_DE/Constant_freq','Constant value','0.5*pi');
result = sim('test_DE.slx','ReturnWorkspaceOutputs','on');
figure;plot(result.a)
clear
in = Simulink.SimulationInput('test_DE');
in = in.setBlockParameter('test_DE/Constant_amp','Constant value','2','test_DE/Constant_freq','Constant value','0.5*pi');
result = sim('test_DE.slx','ReturnWorkspaceOutputs','on');
figure;plot(result.a)
hmtDE
clear
clc
Vidu1
hmtDE
Vidu1
clear
in = Simulink.SimulationInput('test_DE');
in = in.setBlockParameter('test_DE/Constant_amp','Value','2','test_DE/Constant_freq','Value','0.5*pi');
result = sim('test_DE.slx','ReturnWorkspaceOutputs','on');
figure;plot(result.a)
clear
in = Simulink.SimulationInput('test_DE');
in = in.setBlockParameter('test_DE/Constant_amp','Value','2','test_DE/Constant_freq','Value','0.5*pi');
result = sim('test_DE.slx','ReturnWorkspaceOutputs','on');
figure;plot(result.amp)
asd = Simulink.SimulationInput.setBlockParameter('test_DE/Constant_amp','Value',2)
asd = Simulink.SimulationInput('test_DE').setBlockParameter('test_DE/Constant_amp','Value',2)
clear
in = Simulink.SimulationInput('test_DE');
% in = in.setBlockParameter('test_DE/Constant_amp','Value','2','test_DE/Constant_freq','Value','0.5*pi');
in = in.setBlockParameter('test_DE/Constant_amp','Value',2,'test_DE/Constant_freq','Value',0.5*pi);
result = sim('test_DE.slx','ReturnWorkspaceOutputs','on');
clear
in = Simulink.SimulationInput('test_DE');
% in = in.setBlockParameter('test_DE/Constant_amp','Value','2','test_DE/Constant_freq','Value','0.5*pi');
in = in.setBlockParameter('test_DE/Constant_amp','Constant value',2,'test_DE/Constant_freq','Constant value',0.5*pi);
result = sim('test_DE.slx','ReturnWorkspaceOutputs','on');
figure;plot(result.amp)
figure;plot(result.a)
clear
in = Simulink.SimulationInput('test_DE');
% in = in.setBlockParameter('test_DE/Constant_amp','Value','2','test_DE/Constant_freq','Value','0.5*pi');
in = in.setVariable('k',2,'m',0.5*pi);
result = sim('test_DE.slx','ReturnWorkspaceOutputs','on');
in = Simulink.SimulationInput('test_DE');
% in = in.setBlockParameter('test_DE/Constant_amp','Value','2','test_DE/Constant_freq','Value','0.5*pi');
in = in.setVariable('test_DE/Constant_amp',2,'test_DE/Constant_freq',0.5*pi);
result = sim('test_DE.slx','ReturnWorkspaceOutputs','on');
clear
clc
mdl = 'sldemo_househeat';
open_system(mdl);
in = Simulink.SimulationInput(mdl);
in = in.setVariable('cost',50);
out = sim(in)
inclear
clear
in = Simulink.SimulationInput('test_DE');
in = in.setBlockParameter('test_DE/Constant_amp','Value','2','test_DE/Constant_freq','Value','0.5*pi');
% in = in.setVariable('test_DE/Constant_amp',2,'test_DE/Constant_freq',0.5*pi);
result = sim('in','ReturnWorkspaceOutputs','on');
clear
in = Simulink.SimulationInput('test_DE');
sim(in)
clear
clc
in = Simulink.SimulationInput('test_DE');
in = in.setBlockParameter('test_DE/Constant_amp','Value','2','test_DE/Constant_freq','Value','0.5*pi');
% in = in.setVariable('test_DE/Constant_amp',2,'test_DE/Constant_freq',0.5*pi);
result = sim(in,'ReturnWorkspaceOutputs','on');
in = Simulink.SimulationInput('test_DE');
in = in.setBlockParameter('test_DE/Constant_amp','Value','2','test_DE/Constant_freq','Value','0.5*pi');
% in = in.setVariable('test_DE/Constant_amp',2,'test_DE/Constant_freq',0.5*pi);
result = sim(in);
figure;plot(result.a)
figure;plot(result.amp)
figure;plot(0.5*pi)
0.5*pi
clear
k=0.5*pi;
in = Simulink.SimulationInput('test_DE');
in = in.setBlockParameter('test_DE/Constant_amp','Value','2','test_DE/Constant_freq','Value',k)
result = sim(in);
in = in.setBlockParameter('test_DE/Constant_amp','Value','2','test_DE/Constant_freq','Value','k');
result = sim(in);
figure;plot(result.a)
figure;plot(result.freq)
hmtDE
Vidu1
k=690.778514948389;
sim('test_DE.slx');
m=2;
sim('test_DE.slx');
figure;plot(a)
Vidu1
k=4.3001471603539;
in = Simulink.SimulationInput('test_DE');
in = in.setBlockParameter('test_DE/Constant_amp','Value','2','test_DE/Constant_freq','Value','k');
% in = in.setVariable('test_DE/Constant_amp',2,'test_DE/Constant_freq',0.5*pi);
result = sim(in);
figure;plot(result.freq)
figure;plot(result.a)
k=1.7;
in = Simulink.SimulationInput('test_DE');
in = in.setBlockParameter('test_DE/Constant_amp','Value','2','test_DE/Constant_freq','Value','k');
% in = in.setVariable('test_DE/Constant_amp',2,'test_DE/Constant_freq',0.5*pi);
result = sim(in);
figure;plot(result.a)
clear
clc
k=0.5*pi;
in = Simulink.SimulationInput('test_DE');
in = in.setBlockParameter('test_DE/Constant_amp','Value','2','test_DE/Constant_freq','Value','k');
% in = in.setVariable('test_DE/Constant_amp',2,'test_DE/Constant_freq',0.5*pi);
MATLAB Command History Page 24
May 7, 2019 3:46:17 PM
result = sim(in);
load('result','happy');
%% Muc tieu
fpenal = max(abs(happy.a.data));
fpenal = max(abs(happy.data));
figure;plot(result.happy)
Vidu1
k=0.795455004424161;
in = Simulink.SimulationInput('test_DE');
in = in.setBlockParameter('test_DE/Constant_amp','Value','2','test_DE/Constant_freq','Value','k');
% in = in.setVariable('test_DE/Constant_amp',2,'test_DE/Constant_freq',0.5*pi);
result = sim(in);
load('result','happy');
figure;plot(happy)
fpenal = max(abs(happy.data))
Vidu1
clear
clc
k=0.5*pi;
in = Simulink.SimulationInput('test_DE');
in = in.setBlockParameter('test_DE/Constant_amp','Value','2','test_DE/Constant_freq','Value','k');
% in = in.setVariable('test_DE/Constant_amp',2,'test_DE/Constant_freq',0.5*pi);
in.applyToModel
result = sim(in);
fpenal = max(abs(happy.data))load('result','happy');
load('result','happy');
fpenal = max(abs(happy.data))
Vidu1
k=1.17401558218752;
in = Simulink.SimulationInput('test_DE');
in = in.setBlockParameter('test_DE/Constant_amp','Value','2','test_DE/Constant_freq','Value','k');
% in = in.setVariable('test_DE/Constant_amp',2,'test_DE/Constant_freq',0.5*pi);
result = sim(in);
load('result','happy');
%% Muc tieu
fpenal = max(abs(happy.data))
in = Simulink.SimulationInput('test_DE');
in = in.setBlockParameter('test_DE/Constant_amp','Value','2','test_DE/Constant_freq','Value','k');
% in = in.setVariable('test_DE/Constant_amp',2,'test_DE/Constant_freq',0.5*pi);
in.applyToModel
result = sim(in);
load('result','happy');
%% Muc tieu
fpenal = max(abs(happy.data))
fpenal = max(abs(happy.data))
figure;plot(happy)
Vidu1
clear
sym x1 x2 x3
syms x1 x2 x3
y = clear
clc
clear
x=[1:5];y=[2:10]
feval = (5*x+y^2,x,y)
syms x y
fun = 5*x + y^2;
x=[1:5];y=[2:10];
feval = (fun,x,y)
x=4;y=10
feval = (fun,x,y)
feval = (fun)
feval = (fun,2,5)
Vidu1
clear
load('fx.mat')
Vidu1
%-- 04/12/2018 2:35 PM --%
Vidu1
clear
load('da.mat')
clear
load('fx.mat')
Vidu1
Vidu1
load('da2.mat')
load('fx2.mat')
clear
load('fx2.mat')
clear
clcear
clear
load('da.mat')
load('fx.mat')
load('da.mat')
Vidu1
load('fx.mat')
clear
clc
k = 1;
in = Simulink.SimulationInput('test_DE');
in = in.setVariable('k',0.5*pi);
result = sim(in);
load('result','happy');
figure;plot(happy)
in = Simulink.SimulationInput('test_DE');
in = in.setVariable('k',1);
in.applyToModel
result = sim(in);
load('result','happy');
fpenal = max(abs(happy.data));
in = Simulink.SimulationInput('test_DE');
in = in.setVariable('k',0.5*pi);
in.applyToModel
result = sim(in);
load('result','happy');
fpenal = max(abs(happy.data));
clear
x = 1;
in = Simulink.SimulationInput('test_DE');
in = in.setVariable('k',x(1));
in.applyToModel
result = sim(in);
load('result','happy');
fpenal = max(abs(happy.data));
x=0.5*pi;
in = Simulink.SimulationInput('test_DE');
in = in.setVariable('k',x(1));
in.applyToModel
result = sim(in);
load('result','happy');
fpenal = max(abs(happy.data));
Vidu1
MATLAB Command History Page 25
May 7, 2019 3:46:17 PM
x=1.57075700206702;
in = Simulink.SimulationInput('test_DE');
in = in.setVariable('k',x(1));
in.applyToModel
result = sim(in);
load('result','happy');
fpenal = max(abs(happy.data))
figure;plot(happy)
set(dim,5)
set('dim',5)
Vidu1
%-- 04/12/2018 3:32 PM --%
load('imDO_FDSMC_nondis_road2.mat')
figure;plot(x2dot)
result = sim(in);
x=1.5;
in = Simulink.SimulationInput('test_DE');
in = in.setVariable('k',x(1));
in.applyToModel
result = sim(in);
figure;plot(result.a)
Vidu1
clear
clc
Main
Parameter
sim('imDO_FDSMC.slx');
sim('imDO_FDSMC_dis.slx');
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
load('Passive_dis_road3.mat')
figure;plot(x2dot)
load('imDO_FDSMC_dis_road3.mat')
figure;plot(zr)
figure;plot(u)
figure;plot(uc)
figure;plot(us)
figure;plot(k2t)
load('imDO_FDSMC_dis_road2.mat')
k2t
figure;plot(zr)
Main
figure;plot(u)
figure;plot(uc)
figure;plot(us)
figure;plot(k2t)
load('imDO_FDSMC_dis_road1.mat')
figure;plot(zr)
figure;plot(uc)
figure;plot(d)
Parameter
load('imDO_FDSMC_nondis_road1.mat')
figure;plot(d)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
load('imDO_FDSMC_nondis_road2.mat')
clear
load('Passive_dis_road2.mat')
figure;plot(x2dot)
load('imDO_FDSMC_dis_road2.mat')
figure;plot(x2dot)
figure;plot(S.time,S.data.*DS.data)
load('imDO_FDSMC_nondis_road3.mat')
figure;plot(x2dot)
clear
clc
Parameter
load('imDO_FDSMC_nondis_road1.mat')
figure;plot(x2dot)
load('Passive_nondis_road1.mat')
figure;plot(x2dot)
load('SARC_nondis_road1.mat')
figure;plot(x2dot)
load('APPC_nondis_road1.mat')
figure;plot(x2dot)
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
figure;plot(x2dot)
clear
clc
load('imDO_FDSMC_nondis_road1.mat')
figure;plot(x2dot)
load('imDO_FDSMC_nondis_road2.mat')
figure;plot(x2dot)
load('imDO_FDSMC_nondis_road3.mat')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
load('imDO_FDSMC_dis_road1.mat')
figure;plot(x2dot)
figure;plot(zr)
load('imDO_FDSMC_dis_road3.mat')
figure;plot(x2dot)
figure;plot(zr)
load('imDO_FDSMC_dis_road2.mat')
figure;plot(x2dot)
%-- 04/12/2018 5:22 PM --%
load('luu1.mat')
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
clear
clc
Main
Main
clear
clc
Main
Main
load('imDO_FDSMC_dis_road1.mat')
figure;plot(x2dot)
load('imDO_FDSMC_dis_road1_switch.mat')
figure;plot(x2dot)
figure;plot(zr)
load('Passive_dis_road1.mat')
figure;plot(x2dot)
MATLAB Command History Page 26
May 7, 2019 3:46:17 PM
load('luu_switch.mat')
load('luu_switch1.mat')
load('luu1.mat')
load('luu_switch.mat')
clear
load('imDO_FDSMC_dis_road2.mat')
figure;plot(zr)
figure;plot(x2dot)
load('Passive_dis_road2.mat')
figure;plot(x2dot)
load('imDO_FDSMC_dis_road3.mat')
figure;plot(zr)
figure;plot(x2dot)
load('Passive_dis_road3.mat')
figure;plot(x2dot)
load('luu_switch.mat')
Parameter
eps = 0.05; % good
msmin = 350;
msmax = 430;
l2 = msmax;
om = 1.7; % good
sim('imDO_FDSMC_test3.slx');
sim('imDO_FDSMC_test3');
figure;plot(x2dot)
Main
Main
%-- 06/12/2018 12:24 PM --%
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Main
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
%-- 06/12/2018 1:36 PM --%
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(zr)
load('imDO_FDSMC_dis_road3_switch.mat')
figure;plot(zr)
figure;plot(x2dot)
load('imDO_FDSMC_dis_road3.mat')
figure;plot(x2dot)
load('Passive_dis_road3.mat')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
load('Skyhook_nondis_road1.mat')
figure;plot(x2dot)
load('Passive_dis_road1.mat')
figure;plot(x2dot)
load('Passive_nondis_road1.mat')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(zs_2dot)
figure;plot(zr)
Parameter
figure;plot(zr)
figure;plot(zs_2dot)
clear
clc
Untitled
Untitled3
Untitled2
Untitled
Untitled3
Untitled
Untitled3
Untitled
load('imDO_FDSMC_dis_road2_switch.mat')
figure;plot(x2dot)
load('imDO_FDSMC_dis_road2.mat')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Untitled
Untitled3
load('imDO_FDSMC_nondis_road1_switch.mat')
figure;plot(x1)
load('imDO_FDSMC_nondis_road2_switch.mat')
figure;plot(x1)
load('Passive_nondis_road2.mat')
figure;plot(x1)
load('Passive_dis_road1.mat')
figure;plot(x1)
load('Passive_dis_road2.mat')
figure;plot(x1)
load('Passive_dis_road3.mat')
figure;plot(x1)
load('Passive_nondis_road1.mat')
figure;plot(x1)
load('Passive_nondis_road2.mat')
figure;plot(x1)
load('Passive_nondis_road3.mat')
figure;plot(x1)
load('Passive_dis_road2.mat')
figure;plot(x1)
load('SARC_dis_road1.mat')
figure;plot(x1)
load('SARC_dis_road2.mat')
figure;plot(x1)
load('SARC_dis_road3.mat')
figure;plot(x1)
load('SARC_nondis_road1.mat')
figure;plot(x1)
load('SARC_nondis_road2.mat')
figure;plot(x1)
load('SARC_nondis_road3.mat')
MATLAB Command History Page 27
May 7, 2019 3:46:17 PM
figure;plot(x1)
load('Skyhook_dis_road1.mat')
figure;plot(x1)
load('Skyhook_dis_road2.mat')
figure;plot(x1)
load('Skyhook_dis_road3.mat')
figure;plot(x1)
load('Skyhook_nondis_road1.mat')
figure;plot(x1)
load('Skyhook_nondis_road2.mat')
figure;plot(x1)
load('Skyhook_nondis_road3.mat')
figure;plot(x1)
load('Skyhook_dis_road3.mat')
figure;plot(x1)
load('APPC_dis_road1.mat')
figure;plot(zs)
load('imDO_FDSMC_dis_road1_switch.mat')
figure;plot(x1)
load('imDO_FDSMC_dis_road1.mat')
figure;plot(x1)
load('APPC_dis_road2.mat')
figure;plot(zs)
load('imDO_FDSMC_dis_road2_switch.mat')
figure;plot(x1)
load('imDO_FDSMC_dis_road3_switch.mat')
figure;plot(x1)
load('APPC_nondis_road1.mat')
figure;plot(x1)
figure;plot(zs)
load('APPC_nondis_road2.mat')
figure;plot(zs)
load('APPC_nondis_road3.mat')
figure;plot(zs)
load('imDO_FDSMC_nondis_road1_switch.mat')
figure;plot(x1)
load('imDO_FDSMC_nondis_road2_switch.mat')
figure;plot(x1)
load('imDO_FDSMC_nondis_road2.mat')
figure;plot(x1)
load('APPC_nondis_road2.mat')
figure;plot(zs)
load('Passive_nondis_road2.mat')
figure;plot(x1)
Untitled
Untitled3
Parameter
Untitled2
%-- 06/12/2018 4:58 PM --%
load('SARC_dis_road1.mat')
figure;
plot(pk1.zr.time,pk1.zr.data,'LineWidth',1.5);
title('$z_r$','interpreter','latex','FontName','Times New Roman','FontSize',13);
xlabel('$time$ $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$z_r$ $(m)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
grid on;
clear
clc
load('SARC_dis_road1.mat')
figure;
plot(zr.time,zr.data,'LineWidth',1.5);
title('$z_r$','interpreter','latex','FontName','Times New Roman','FontSize',13);
xlabel('$time$ $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$z_r$ $(m)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
grid on;
figure;
plot(zr.time,zr.data,'LineWidth',1.5);
title('$z_r$','interpreter','latex','FontName','Times New Roman','FontSize',13);
xlabel('time $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$z_r$ $(m)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
grid on;
load('SARC_dis_road2.mat')
figure;
plot(zr.time,zr.data,'LineWidth',1.5);
title('$z_r$','interpreter','latex','FontName','Times New Roman','FontSize',13);
xlabel('time $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$z_r$ $(m)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
grid on;
load('SARC_dis_road3.mat')
figure;
plot(zr.time,zr.data,'LineWidth',1.5);
title('$z_r$','interpreter','latex','FontName','Times New Roman','FontSize',13);
xlabel('time $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$z_r$ $(m)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
grid on;
Untitled2
%-- 06/12/2018 5:16 PM --%
Untitled2
PSD
figure;
plot(f1,psd1,'y-',f2,psd2,'m-.',f3,psd3,'g--',f4,psd4,'r:',f5,psd5,'b-','LineWidth',1.5);
legend 'Passive' 'Skyhook' 'APPC' 'SARC' 'imDO-FDSMC';
title('PSD','interpreter','latex','FontName','Times New Roman','FontSize',13);
xlabel('Freq (Hz)','FontName','Times New Roman','FontSize',13);
ylabel('Power/frequency $(dB/Hz)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
grid on;
load('Passive_dis_road1.mat')
figure;plot(d)
figure;plot(mst)
load('imDO_FDSMC_dis_road1_switch.mat')
figure;plot(mst)
figure;
subplot(2,1,1);
plot(d.time,d.data,'LineWidth',1.5);
xlabel('time $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$d(t)$ $(N)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
grid on;
subplot(2,1,2);
plot(mst.time,mst.data,'LineWidth',1.5);
xlabel('time $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$m_s(t)$ $(kg)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
grid on;
%-- 07/12/2018 9:16 AM --%
ga1 = load('imDO_FDSMC_dis_road1');
ga2 = load('imDO_FDSMC_dis_road1_switch');
figure;
subplot(2,1,1);
plot(ga1.S.time,ga1.S.data.*ga1.DS.data,ga2.S.time,ga2.S.data.*ga2.DS.data,'r-.','LineWidth',1.5);
xlabel('time $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$S(t)$.$DS(t)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
grid on;
subplot(2,1,2);
plot(ga1.x2dot.time,ga1.x2dot.data,ga2.x2dot.time,ga2.x2dot.data,'r-.','LineWidth',1.5);
MATLAB Command History Page 28
May 7, 2019 3:46:17 PM
ga1 = load('imDO_FDSMC_dis_road1');
ga2 = load('imDO_FDSMC_dis_road1_switch');
figure;
subplot(2,1,1);
plot(ga1.S.time,ga1.S.data.*ga1.DS.data,'r-.',ga2.S.time,ga2.S.data.*ga2.DS.data,'LineWidth',2);
xlabel('time $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$S(t)$.$D^{\alpha}S(t)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
legend 'imDO-FDSMC without AFL' 'imDO-FDSMC with AFL'
grid on;
subplot(2,1,2);
plot(ga1.x2dot.time,ga1.x2dot.data,'r-.',ga2.x2dot.time,ga2.x2dot.data,'LineWidth',2);
xlabel('time $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$\dot{x}_2$ $(m/s^2)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
legend 'imDO-FDSMC without AFL' 'imDO-FDSMC with AFL'
grid on;
figure;
subplot(2,1,1);
plot(ga1.S.time,ga1.S.data.*ga1.DS.data,'r-.',ga2.S.time,ga2.S.data.*ga2.DS.data,'LineWidth',2);
xlabel('time $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$S(t)$.$D^{\alpha}S(t)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
legend 'imDO-FDSMC without AFL' 'imDO-FDSMC with AFL'
grid on;
legend 'imDO-FDSMC without AFL' 'imDO-FDSMC with AFL'
hold on
legend 'imDO-FDSMC without AFL' 'imDO-FDSMC with AFL'
columnlegend(2)
for ii=1:nLines,
plot(t,sin(t+dPhi*ii),...
'linestyle', lineStyles{rem(ii-1,numel(lineStyles))+1},...
'color', myColors(ii,:),...
'linewidth',3);
hold on;
legend_str{ii} = num2str(ii);
end
axis([0 3*pi -1.15 1.6])
columnlegend(6,legend_str,'NorthWest');
nLines = 18;
legend_str = cell(nLines,1);
myColors = distinguishable_colors(nLines);
Parameter
sim('imDO_FDSMC_switch_dis');
figure;plot(zr)
figure;plot(x2dot)
figure;plot(k2t)
Parameter
figure;plot(zr)
figure;plot(x2dot)
figure;plot(k2t)
Parameter
figure;plot(zr)
figure;plot(x2dot)
figure;plot(k2t)
Parameter
figure;plot(zr)
figure;plot(x2dot)
figure;plot(k2t)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
title('test','interpreter','latex','FontName','Times New Roman','FontSize',13);
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
title('test','interpreter','latex','FontName','Times New Roman','FontSize',13);
load('imDO_FDSMC_dis_road1.mat')
figure;plot(x2dot)
load('imDO_FDSMC_dis_road2.mat')
figure;plot(x2dot)
load('imDO_FDSMC_dis_road3.mat')
figure;plot(x2dot)
load('Passive_dis_road3.mat')
figure;plot(x2dot)
load('APPC_dis_road3.mat')
figure;plot(zs_2dot)
load('imDO_FDSMC_dis_road1_switch.mat')
figure;plot(x2dot)
load('imDO_FDSMC_dis_road3_switch.mat')
figure;plot(x2dot)
Parameter
figure;plot(S.time,S.data.*Sdot.data)
grid on;
Parameter
figure;plot(S.time,S.data.*Sdot.data)
Parameter
figure;plot(S.time,S.data.*Sdot.data)
clear
clc
ga1 = load('imDO_FDSMC_dis_road1');
ga2 = load('imDO_FDSMC_dis_road1_switch_test');
figure;
subplot(2,1,1);
plot(ga1.S.time,ga1.S.data.*ga1.DS.data,'r-.',ga2.S.time,ga2.S.data.*ga2.DS.data,'LineWidth',2);
xlabel('time $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$S(t)$.$D^{\alpha}S(t)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
legend 'imDO-FDSMC without AFL' 'imDO-FDSMC with AFL'
grid on;
subplot(2,1,2);
plot(ga1.x2dot.time,ga1.x2dot.data,'r-.',ga2.x2dot.time,ga2.x2dot.data,'LineWidth',2);
xlabel('time $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$\dot{x}_2$ $(m/s^2)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
legend 'imDO-FDSMC without AFL' 'imDO-FDSMC with AFL'
grid on;
load('imDO_FDSMC_dis_road1.mat')
Untitled2
clear
clc
Parameter
figure;plot(x2dot)
Parameter
ga1 = load('imDO_FDSMC_dis_road1');
ga2 = load('imDO_FDSMC_dis_road1_switch_test');
figure;
subplot(2,1,1);
MATLAB Command History Page 30
May 7, 2019 3:46:17 PM
plot(ga1.S.time,ga1.S.data.*ga1.Sdot.data,'r-.',ga2.S.time,ga2.S.data.*ga2.Sdot.data,'LineWidth',2);
xlabel('time $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$S(t)$.$\dot{S}(t)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
legend 'imDO-FDSMC without AFL' 'imDO-FDSMC with AFL'
grid on;
subplot(2,1,2);
plot(ga1.x2dot.time,ga1.x2dot.data,'r-.',ga2.x2dot.time,ga2.x2dot.data,'LineWidth',2);
xlabel('time $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$\dot{x}_2$ $(m/s^2)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
legend 'imDO-FDSMC without AFL' 'imDO-FDSMC with AFL'
grid on;
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
ga1 = load('imDO_FDSMC_dis_road2');
ga2 = load('imDO_FDSMC_dis_road2_switch_test');
figure;
subplot(2,1,1);
plot(ga1.S.time,ga1.S.data.*ga1.Sdot.data,'r-.',ga2.S.time,ga2.S.data.*ga2.Sdot.data,'LineWidth',2);
xlabel('time $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$S(t)$.$\dot{S}(t)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
legend 'imDO-FDSMC without AFL' 'imDO-FDSMC with AFL'
grid on;
subplot(2,1,2);
plot(ga1.x2dot.time,ga1.x2dot.data,'r-.',ga2.x2dot.time,ga2.x2dot.data,'LineWidth',2);
xlabel('time $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$\dot{x}_2$ $(m/s^2)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
legend 'imDO-FDSMC without AFL' 'imDO-FDSMC with AFL'
grid on;
ga1 = load('imDO_FDSMC_dis_road3');
ga2 = load('imDO_FDSMC_dis_road3_switch_test');
figure;
subplot(2,1,1);
plot(ga1.S.time,ga1.S.data.*ga1.Sdot.data,'r-.',ga2.S.time,ga2.S.data.*ga2.Sdot.data,'LineWidth',2);
xlabel('time $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$S(t)$.$\dot{S}(t)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
legend 'imDO-FDSMC without AFL' 'imDO-FDSMC with AFL'
grid on;
subplot(2,1,2);
plot(ga1.x2dot.time,ga1.x2dot.data,'r-.',ga2.x2dot.time,ga2.x2dot.data,'LineWidth',2);
xlabel('time $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$\dot{x}_2$ $(m/s^2)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
legend 'imDO-FDSMC without AFL' 'imDO-FDSMC with AFL'
grid on;
Parameter
figure;plot(x2dot)
load('imDO_FDSMC_nondis_road1.mat')
figure;plot(x2dot)
load('imDO_FDSMC_nondis_road2.mat')
load('imDO_FDSMC_nondis_road1_switch.mat')
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Main
Main
Parameter
sim('imDO_FDSMC_dis');
figure;plot(x2dot)
load('imDO_FDSMC_dis_road1.mat')
figure;plot(x2dot)
figure;plot(uc)
Main
Main
Parameter
sim('imDO_FDSMC_switch_dis_test');
figure;plot(x2dot)
figure;plot(S.time,S.data.*Sdot.data)
Main
%-- 13/12/2018 10:09 AM --%
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Untitled
figure;plot(pk.x2dot)
figure;plot(pk5.x2dot)
Untitled
Untitled2
Untitled3
Untitled
Untitled3
Untitled
Untitled3
Untitled
Untitled3
pk1 = load('Passive_dis_road3');
pk2 = load('Skyhook_dis_road3');
pk3 = load('APPC_dis_road3');
pk4 = load('SARC_dis_road3');
pk5 = load('imDO_FDSMC_switch1_dis_road3');
%% ve do thi so sanh kha nang hoi tu S - DS data
% X = pk5.S.data;
% Y = pk5.DS.data;
% figure;
% plot(X,Y,'LineWidth',1.5);
% title('$S$-$D^{\alpha}S$','interpreter','latex','FontName','Times New Roman','FontSize',13);
% xlabel('$S$','interpreter','latex','FontName','Times New Roman','FontSize',13);
% ylabel('$D^{\alpha}S$','interpreter','latex','FontName','Times New Roman','FontSize',13);
% grid on;
%% ve do thi so sanh zr-x2dot
figure;
plot(pk1.zr.data,pk1.x2dot.data,'k-',pk2.zr.data,pk2.x2dot.data,'c-.',pk3.zr.data,pk3.zs_2dot.data,'m-',pk4.zr.data,pk4.x2dot.data,'r:',pk5.zr.data,pk5.x2dot.data,'b-','LineWidth',1.5);
title('$x_1$-$\dot{x}_2$','interpreter','latex','FontName','Times New Roman','FontSize',13);
xlabel('$x_1$ $(m)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$\dot{x}_2$ $(m/s^2)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
legend 'Passive' 'Skyhook' 'APPC' 'SARC' 'imDO-FDSMC';
grid on;
%% ve do thi so sanh zr-x2
figure;
plot(pk1.zr.data,pk1.x2.data,'k-',pk2.zr.data,pk2.x2.data,'c-.',pk3.zr.data,pk3.zs_dot.data,'m--',pk4.zr.data,pk4.x2.data,'r:',pk5.zr.data,pk5.x2.data,'b-','LineWidth',1.5);
title('$x_1$-$x_2$','interpreter','latex','FontName','Times New Roman','FontSize',13);
xlabel('$x_1$ $(m)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
MATLAB Command History Page 31
May 7, 2019 3:46:17 PM
grid on;
ga1 = load('imDO_FDSMC_nonswitch_dis_road3');
ga2 = load('imDO_FDSMC_switch1_dis_road3');
figure;
subplot(2,1,1);
plot(ga1.S.time,ga1.S.data.*ga1.Sdot.data,'r-.',ga2.S.time,ga2.S.data.*ga2.Sdot.data,'LineWidth',2);
xlabel('Time $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$S(t)$.$\dot{S}(t)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
legend 'imDO-FDSMC without AFL' 'imDO-FDSMC with AFL'
grid on;
subplot(2,1,2);
plot(ga1.x2dot.time,ga1.x2dot.data,'r-.',ga2.x2dot.time,ga2.x2dot.data,'LineWidth',2);
xlabel('Time $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$\dot{x}_2$ $(m/s^2)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
legend 'imDO-FDSMC without AFL' 'imDO-FDSMC with AFL'
grid on;
ga1 = load('imDO_FDSMC_nonswitch_dis_road3');
ga2 = load('imDO_FDSMC_switch1_dis_road3');
figure;
subplot(2,1,1);
plot(ga1.S.time,ga1.S.data.*ga1.Sdot.data,'r-.',ga2.S.time,ga2.S.data.*ga2.Sdot.data,'LineWidth',1.5);
xlabel('Time $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$S(t)$.$\dot{S}(t)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
legend 'imDO-FDSMC without AFL' 'imDO-FDSMC with AFL'
grid on;
subplot(2,1,2);
plot(ga1.x2dot.time,ga1.x2dot.data,'r-.',ga2.x2dot.time,ga2.x2dot.data,'LineWidth',1.5);
xlabel('Time $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$\dot{x}_2$ $(m/s^2)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
legend 'imDO-FDSMC without AFL' 'imDO-FDSMC with AFL'
grid on;
PSD
445.382715744346/340
21495.4468621515/430
11000/340
21500/430
14*3
1/(1.1*ms0)
1/(0.9*ms0)
1/ms0
%-- 14/12/2018 12:21 PM --%
0.1/2
ms0 = 390;
v = 10;
c = 10e8
m = ms0/(sqrt(1-(v^2)/(c^2)))
load('APPC_dis_road1.mat')
m1 = mst.data/(sqrt(1-(v^2)/(c^2)))
figure;plot(m1)
hold on;
plot(mst,'r');
mst
plot(mst.data,'r');
figure;plot(mst.time,mst.data,mst.time,m1,'r')
%-- 15/12/2018 12:28 PM --%
a=[]
per_max = a(:,3)./a(:,1).*100
per_aver = a(:,4)./a(:,2).*100
per_skyhook = a(2,:)./a(1,:).*100
per_APPC = a(3,:)./a(1,:).*100
per_SARC = a(4,:)./a(1,:).*100
per_imDO = a(5,:)./a(1,:).*100
per_skyhook = 100-a(2,:)./a(1,:).*100
per_APPC = 100-a(3,:)./a(1,:).*100
per_SARC = 100-a(4,:)./a(1,:).*100
per_imDO = 100-a(5,:)./a(1,:).*100
pretty(per_skyhook)
roung(99.0273475823,-6)
round(99.0273475823,-6)
round(99.0273475823,6)
per_skyhook = 100-a(2,:)./a(1,:).*100;
per_APPC = 100-a(3,:)./a(1,:).*100;
per_SARC = 100-a(4,:)./a(1,:).*100;
per_imDO = 100-a(5,:)./a(1,:).*100;
round(per_skyhook,6);
round(per_APPC,6);
round(per_SARC,6);
round(per_imDO,6);
per_skyhook = round(100-a(2,:)./a(1,:).*100,6);
per_APPC = round(100-a(3,:)./a(1,:).*100,6);
per_SARC = round(100-a(4,:)./a(1,:).*100,6);
per_imDO = round(100-a(5,:)./a(1,:).*100,6);
per_skyhook = round(100-a(2,:)./a(1,:).*100,6,'decimals');
Untitled4
clear
clc
a=[];
Untitled4
PSD
%-- 17/12/2018 1:46 PM --%
(1.108419-1.070187)/1.070187
*100
ans*100
(0.017558-1.070187)/1.070187*100
a=[];
Untitled4
load('imDO_FDSMC_nonswitch_dis_road1.mat')
load('imDO_FDSMC_switch1_dis_road1.mat')
figure;plot(x2)
figure;plot(x1)
figure;plot(x2dot)
load('imDO_FDSMC_switch1_dis_road3.mat')
figure;plot(x1)
figure;plot(x2dot)
load('imDO_FDSMC_switch1_dis_road1.mat')
figure;plot(x2dot)
figure;plot(x2)
load('imDO_FDSMC_switch1_dis_road2.mat')
figure;plot(x1)
figure;plot(x2dot)
figure;plot(x2)
%-- 19/12/2018 10:41 AM --%
x = 0.0001895;y = -0.001143;
r = sqrt(x^2+y^2)
load('imDO_FDSMC_nonswitch_dis_road3.mat')
figure;plot(x1)
load('imDO_FDSMC_switch1_dis_road3.mat')
figure;plot(x1)
figure;plot(x2dot)
x = 0.0001895;y = -0.001951;
r = sqrt(x^2+y^2)
%-- 24/12/2018 1:42 PM --%
Parameter
MATLAB Command History Page 33
May 7, 2019 3:46:17 PM
figure;plot(zs_2dot)
kvr = kv;
eps = 0.001;
figure;plot(zs_2dot)
Main
Main
Main
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
clear
clc
Main
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Main
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
load('SMC_combine.mat')
figure;plot(zs_2dot)
Parameter
load('SARC_combine.mat')
figure;plot(zs_2dot)
load('Passive_combine.mat')
figure;plot(zs_2dot)
load('FDSMC_combine.mat')
figure;plot(zs_2dot)
load('APPC_combine.mat')
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
load('APPC_bump.mat')
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
figure;plot(d)
Parameter
figure;plot(d)
figure;plot(zs_2dot)
load('APPC_bump.mat')
figure;plot(d)
Parameter
figure;plot(d)
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
load('APPC_sine.mat')
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
load('APPC_rough.mat')
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
figure;plot(u.uf)
figure;plot(u.ur)
figure;plot(Svdot)
load('APPC1_rough.mat')
figure;plot(zs_2dot)
figure;plot(d)
figure;plot(zs_2dot)
Parameter
load('APPC1_combine.mat')
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
load('APPC1_sine.mat')
Parameter
figure;plot(zs_2dot)
load('APPC1_sine.mat')
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
load('APPC1_bump.mat')
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
clear
clc
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
load('APPC_combine.mat')
figure;plot(zs_2dot)
load('Passive_combine.mat')
figure;plot(zs_2dot)
load('SARC_combine.mat')
figure;plot(zs_2dot)
clear
clc
load('FDSMC_sine.mat')
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
load('FDSMC_bump3.mat')
figure;plot(zs_2dot)
Parameter
MATLAB Command History Page 34
May 7, 2019 3:46:17 PM
figure;plot(zs_2dot)
load('FDSMC_rough.mat')
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
clear
clc
load('FDSMC_rough.mat')
figure;plot(Svdot)
figure;plot(mst)
figure;plot(Sv)
figure;plot(Sr)
figure;plot(Sv.time,Sv.data.^2+Sr.data.^2)
grid on;
figure;plot(d)
grid on;
figure;plot(d.time,d.data+mst.data.*10)
grid on;
clear
clc
fuzzy
load('FDSMC_combine.mat')
figure;plot(Sv)
figure;plot(Svdot)
figure;plot(Sr)
figure;plot(Srdot)
load('FDSMC_sine.mat')
figure;plot(Sv)
figure;plot(Svdot)
figure;plot(Sr)
figure;plot(Srdot)
kr
load('FDSMC_combine.mat')
fuzzy
kv
figure;plot(zs_2dot)
Parameter
figure;plot(zs_2dot)
figure;plot(kvr)
fuzzy
Parameter
figure;plot(Sv)
figure;plot(Svdot)
figure;plot(zs_dot)
figure;plot(kv)
figure;plot(kvr)
figure;plot(zs_2dot)
figure;plot(kvr.time,kvr.data,Sv.time,Sv.data,'r',Svdot.time,Svdot.data,'m','linewidth',2)
legend 'kvr' 'Sv' 'Svdot'
figure;plot(mst)
load('Passive_combine.mat')
figure;plot(zs_2dot)
load('APPC_combine.mat')
figure;plot(zs_2dot)
figure;plot(zrf)
engine_idle_speed
s1=-1.667
s2=-1
s3=-0.75
s4=-0.4166
Parameter
load('FDSMC_combine.mat')
s1=-1.667;s2= -1;s3= -0.75;s4= -0.4166
%-- 27/12/2018 8:09 PM --%
clear
clc
%-- 27/12/2018 9:10 PM --%
Main
clear
clc
Main
load('luu.mat')
clear
load('luu.mat')
load('luu_FDSMC_combine1.mat')
load('sensor.mat')
mean(zs_2dot.data)
load('FDSMC_combine.mat')
mean(zs_2dot.data)
var(zs_2dot.data)
max(zs_2dot.data)
max(abs(zs_2dot.data))
mean(abs(zs_2dot.data))
var(zs_2dot.data)
var(abs(zs_2dot.data))
Main
Main
%-- 28/12/2018 8:52 AM --%
Parameter
figure;plot(zrf)
Parameter
figure;plot(zrf)
figure;plot(zs_2dot)
in = Simulink.SimulationInput('FDSMC');
xval = [5,100,6,0.97];
in = in.setVariable('k1',xval(1));
in = in.setVariable('k2',xval(2));
in = in.setVariable('kvr',xval(3));
in = in.setVariable('alfa',xval(4));
in.applyToModel
result = sim(in);
h_rough = random('uniform',0.001,0.04); % is the heigh of the rough
D_rough = random('uniform',0.01,0.2); % is the wide of the rough
in = Simulink.SimulationInput('FDSMC');
in = in.setVariable('k1',xval(1));
in = in.setVariable('k2',xval(2));
in = in.setVariable('kvr',xval(3));
in = in.setVariable('alfa',xval(4));
in.applyToModel
result = sim(in);
norm(abs(result.Sv.data))
var(abs(result.Sv.data))
figure;plot((abs(result.Sv.data)))
MATLAB Command History Page 35
May 7, 2019 3:46:17 PM
grid on;
figure;plot(((result.Sv.data)))
norm((result.Sv.data))
data_road(i,1) = v;
data_road(i,2) = h_rough;
data_road(i,3) = D_rough;
i=1
data_road(i,1) = v;
data_road(i,2) = h_rough;
data_road(i,3) = D_rough;
data(i,1) = xval(1); % k1
data(i,2) = xval(2); % k2
data(i,3) = xval(3); % kvr
data(i,4) = xval(4); % alfa
data(i,5) = fval;
data(i,6) = max(abs(result.zs_2dot.data));
data(i,7) = norm(result.Sv.data);
data(i,8) = norm(result.Svdot.data);
fval=0.7
data(i,1) = xval(1); % k1
data(i,2) = xval(2); % k2
data(i,3) = xval(3); % kvr
data(i,4) = xval(4); % alfa
data(i,5) = fval;
data(i,6) = max(abs(result.zs_2dot.data));
data(i,7) = norm(result.Sv.data);
data(i,8) = norm(result.Svdot.data);
save('luu','data','data_road');
clear
clc
load('luu.mat')
figure;plot(((result.Svdot.data)))
load('luu1.mat')
clear
clc
load('FDSMC_combine.mat')
max(zs_2dot.data)
norm(zs_2dot.data)
mode(zs_2dot.data)
std(zs_2dot.data)
if i==[5,10,15]
disp(i);
end
for i=1:20
if i==[5,10,15]
disp(i);
end
end
for i=1:20
if i==[5,10,15]
a= 'ok'
end
end
sum(zs_2dot.data(1:10))
sum(zs_2dot.data)
sum(zs_2dot.data(10:20))
length(zs_2dot.data)
length(zs_2dot.data)/5
ground(ans)
round(ans)
for i = 1:round(length(zs_2dot.data)/5)
for j = 1:length(zs_2dot.data)
if j == (i*5)
pl_norm(i,1) = i;
pl_norm(i,2) = norm(zs_2dot.data(j-4:j));
pl_std(i,1) = i;
pl_std(i,2) = std(zs_2dot.data(j-4:j));
pl_max(i,1) = i;
pl_max(i,2) = max(zs_2dot.data(j-4:j));
pl_var(i,1) = i;
pl_var(i,2) = var(zs_2dot.data(j-4:j));
end
end
end
for j = 1:length(pl_var)
end
figure;plot(pl_var)
figure;plot(pl_var(:,1),plvar(:,2))
figure;plot(pl_var(:,1),pl_var(:,2))
figure;plot(pl_norm(:,1),pl_norm(:,2))
for i = 1:round(length(zs_2dot.data)/5)
for j = 1:length(zs_2dot.data)
if j == (i*5)
pl_norm(i) = norm(zs_2dot.data(j-4:j));
pl_std(i) = std(zs_2dot.data(j-4:j));
pl_max(i) = max(zs_2dot.data(j-4:j));
pl_var(i) = var(zs_2dot.data(j-4:j));
end
end
end
figure;plot(pl_norm);title 'norm';
figure;plot(pl_std);title 'standard derivation'
figure;plot(pl_max);title 'max';
figure;plot(pl_var);title 'var';
figure;plot(zs_2dot)
figure;plot(abs(zs_2dot))
figure;plot(zs_2dot.time,abs(zs_2dot))
figure;plot(zs_2dot.time,abs(zs_2dot.data))
Untitled4
clear
clc
Main
%-- 28/12/2018 1:13 PM --%
FDO_SMC_Parameter
t
ý
y1
figure;plot(zs_2dot)
figure;plot(zrf)
figure;plot([t,y1])
figure;plot(t,y1)
t = [0:0.001:30];
length(t)
a=1:length(t)
v
thoigian = [0:0.001:30];
for i = 1:length(t)
t = i-1*0.001;
disturb = random('uniform',-0.005,0.005);
% Sine-shaped
if t<=10
lamda = 100; % Wave-length (m)
omega = 2*pi*v/lamda; % Omega (rad/s)
MATLAB Command History Page 36
May 7, 2019 3:46:17 PM
end
% Rough
else
D = random('uniform',0.01,0.2); % Rough's width (m)
w = 2*pi*v/D; % Rough's omega (rad/s)
zrf(i,1) = random('uniform',-0.02,0.02).*sin(random('uniform',0,w)*t);
end
end
end
figure;plot(zrf)
figure;plot(thoigian)
figure;plot(thoigian,zrf)
clear zrf
clear thoigian
thoigian = [0:0.001:10]';
for i = 1:length(thoigian)
t = i-1*0.001;
%% Sine-shaped
lamda = 100; % Wave-length (m)
omega = 2*pi*v/lamda; % Omega (rad/s)
Y0 = 0.1; % Amplitude of the sine-shaped (m)
disturb = random('uniform',-0.005,0.005);% Disturbance
zrf(i,1) = Y0*sin(omega*t) + disturb;
end
end
thoigian = [0:0.001:10]';
for i = 1:length(thoigian)
t = i-1*0.001;
%% Sine-shaped
lamda = 100; % Wave-length (m)
omega = 2*pi*v/lamda; % Omega (rad/s)
Y0 = 0.1; % Amplitude of the sine-shaped (m)
disturb = random('uniform',-0.005,0.005);% Disturbance
zrf(i,1) = Y0*sin(omega*t) + disturb;
end
figure;plot(thoigian,zrf)
for i = 1:length(thoigian)
t = i-1*0.001;
%% Sine-shaped
lamda = 100; % Wave-length (m)
omega = 2*pi*v/lamda; % Omega (rad/s)
Y0 = 0.1; % Amplitude of the sine-shaped (m)
disturb = random('uniform',-0.005,0.005);% Disturbance
zrf(i,1) = Y0*sin(omega*i) + disturb;
end
figure;plot(thoigian,zrf)
thoigian = [0:0.001:10]';
% for i = 1:length(thoigian)
% t = i-1*0.001;
%% Sine-shaped
lamda = 100; % Wave-length (m)
omega = 2*pi*v/lamda; % Omega (rad/s)
Y0 = 0.1; % Amplitude of the sine-shaped (m)
disturb = random('uniform',-0.005,0.005);% Disturbance
zrf(i,1) = Y0*sin(omega.*thoigian) + disturb;
amda = 100; % Wave-length (m)
omega = 2*pi*v/lamda; % Omega (rad/s)
Y0 = 0.1; % Amplitude of the sine-shaped (m)
disturb = random('uniform',-0.005,0.005);% Disturbance
zrf(i,1) = Y0*sin(omega.*thoigian) .+ disturb;
= [0:0.001:10]';
>
[0:0.001:10]';
>
t= [0:0.001:10]';
lamda = 100; % Wave-length (m)
omega = 2*pi*v/lamda; % Omega (rad/s)
Y0 = 0.1; % Amplitude of the sine-shaped (m)
for i=1:length(t)
disturb(i,1) = random('uniform',-0.005,0.005);% Disturbance
end
zrf = Y0*sin(omega*i) + disturb;
figure;plot(t,zrf)
t= [0:0.001:10]';
lamda = 1; % Wave-length (m)
omega = 2*pi*v/lamda; % Omega (rad/s)
Y0 = 0.1; % Amplitude of the sine-shaped (m)
for i=1:length(t)
disturb(i,1) = random('uniform',-0.005,0.005);% Disturbance
end
zrf = Y0*sin(omega*i) + disturb;
figure;plot(t,zrf)
zrf = Y0*sin(omega.*t) + disturb;
figure;plot(t,zrf)
t= [0:0.001:10]';
lamda = 100; % Wave-length (m)
omega = 2*pi*v/lamda; % Omega (rad/s)
Y0 = 0.1; % Amplitude of the sine-shaped (m)
for i=1:length(t)
disturb(i,1) = random('uniform',-0.005,0.005);% Disturbance
end
zrf = Y0*sin(omega.*t) + disturb;
figure;plot(t,zrf)
load('Passive1_sine.mat')
figure;plot(zrf)
load('FDSMC_sine.mat')
figure;plot(zrf)
t= [0:0.001:10]';
for i=1:length(t)
Y(i,1) = random('uniform',-0.02,0.02); % Rough's amplitude
D(i,1) = random('uniform',0.01,0.2); % Rough's width (m)
end
w = 2*pi*v/D
for i=1:length(t)
Y(i,1) = random('uniform',-0.02,0.02); % Rough's amplitude
D(i,1) = random('uniform',0.01,0.2); % Rough's width (m)
w(i,1) = 2*pi*v/D(i,1); % Rough's omega (rad/s)
end
clear w
for i=1:length(t)
Y(i,1) = random('uniform',-0.02,0.02); % Rough's amplitude
D(i,1) = random('uniform',0.01,0.2); % Rough's width (m)
w(i,1) = 2*pi*v/D(i,1); % Rough's omega (rad/s)
end
figure;plot(w)
v=25
t= [0:0.001:10]';
lamda = 100; % Wave-length (m)
omega = 2*pi*v/lamda; % Omega (rad/s)
Y0 = 0.1; % Amplitude of the sine-shaped (m)
for i=1:length(t)
disturb(i,1) = random('uniform',-0.005,0.005);% Disturbance
end
MATLAB Command History Page 38
May 7, 2019 3:46:17 PM
clear
clc
Main
clear
clc
load('luu_rough2_2.mat')
a=data;
load('luu_rough2.mat')
Main
load('luu_rough2_3.mat')
clear
clc
data=[];
load('luu_rough2.mat')
a=data;
load('luu_rough2_2.mat')
b=data;
load('luu_rough2_3.mat')
c=data;
for i=1:length(a)
data(i,:) = a(i,:);
end
clear
load('luu_rough2.mat')
a=data;
load('luu_rough2_2.mat')
b=data;
load('luu_rough2_3.mat')
c=data;
for i=1:length(a)
d(i,:) = a(i,:);
end
d(1858,:) = b(1858,:);
for i=1859:2000
d(i,:) = c(i,:);
end
data = d;
save('luu_rough3','data');
clear
clc
load('luu_rough3.mat')
a=data;
clear a
rough = data;
clear data
load('luu_sine.mat')
sine = data;
load('luu_bump1.mat')
bump1 = data;
load('luu_bump2.mat')
bump2 = data;
load('luu_bump3.mat')
bump3 = data;
clear data
for i=1:2000
data(i,:) = sine(i,:);
end
for i=2001:4000
data(i,:) = rough(i,:);
end
test = {};
clear test
for i=1:2000
t{i,:} = sine(i,:);
end
clear t
data = [sine;rough;bump1;bump2;bump3];
save('dataset','data');
a(:,1) = diff(data(:,11))
a={};
a(:,1) = diff(data(:,11))
a(:,1) = diff(data{:,11})
d(1,11)
data(1,11)
data[1,11]
data{1,11}
for i=1:length(data)
a(i,1) = diff(data{i,11});
end
b = diff(data{1,11})
b = diff(data{:,11})
for i=1:length(data)
end
a(:,1) = data(:,11);
for i=1:length(data)
a(i,2) = diff(data{i,11});
end
a(1,2) = diff(data{1,11})
a(1,2) = diff(data{1,11});
diff(data{1,11});
diff(data{1,11})
diff(data(1,11))
[0;diff(data(1,11))]
[0;diff(data{1,11})]
a(1,2) = [0;diff(data{1,11})]
a{1,2} = [0;diff(data{1,11})]
for i=1:length(data)
a{1,2} = diff(data{1,11});
a{i,2} = diff(data{i,11});
end
for i=1:length(data)
data{i,12} = diff(data{i,11});
end
save('dataset','data');
figure
for i=1:length(data)clear
end
clear
clc
load('dataset.mat')
clear
clc
%-- 08/01/2019 6:06 PM --%
fis = newfis('test.fis');
%% create input 1
fis = addvar(fis,'input','service',[a1 a4]);
fis = addmf(fis,'input',1,'poor','trimf',[a1 (a1+a2)/2 a2]);
fis = addmf(fis,'input',1,'good','trimf',[a3 (a3+a4)/2 a4]);
%% create input 2
fis = addvar(fis,'input','food',[b1 b4]);
fis = addmf(fis,'input',2,'rancid','trimf',[b1 (b1+b2)/2 b2]);
fis = addmf(fis,'input',2,'delicious','trimf',[b3 (b3+b4)/2 b4]);
%% create output
MATLAB Command History Page 40
May 7, 2019 3:46:17 PM
%% create rule
rulelist = [1,1,1,1,1;
1,2,2,1,1;
2,1,2,1,1;
2,2,3,1,1];
test = addrule(test,rulelist);
test = addvar(test,'input','service',[0 9])
fis = setfis(fis,'input',1,'range',[1 9])
test = setfis(test,'input',1,'range',[1 9])
clear
fuzzy
test = readfis('test');
a1 = 1;a2 = 15;
b1 = -4; b2 = 10;
c1 = -10;c2 = 10;
test = setfis(test,'input',1,'range',[a1 a2]);
%% create input 2
test = setfis(test,'input',2,'range',[b1 b2]);
%% create output
test = setfis(test,'input',3,'range',[c1 c2]);
test = setfis(test,'input',1,'range',[a1 a2]);
%% create input 2
test = setfis(test,'input',2,'range',[b1 b2]);
%% create output
test = setfis(test,'output',3,'range',[c1 c2]);
test = setfis(test,'input',1,'range',[a1 a2]);
test = setfis(test,'output',1,'range',[c1 c2]);
rulelist = [1,1,1,1,1;
1,2,2,1,1;
2,1,2,1,1;
2,2,3,1,1];
test = addrule(test,rulelist);
u1 = 5.3;u2 = 9;
y = evalfis([u1 u2],test);
fuzzy
clear
clc
%-- 10/02/2019 5:17 PM --%
I = imread('Penguins.jpg')
clc
I = imread('Penguins.jpg');
imshow(I);
imshow(I)
imtool(I)
a= I+1;
imshow(a);
imshow(I+255);
imshow(I-200);
imshow(I-[0,0,200]);
imshow(I.-[0,0,200]);
imshow(rgb2gray(I));
a=I.-[0,0,200];
a=I-[0,0,200];
a=I.-[0,0,200];
a=I.-[0;0;200];
imtool(I.-[0,0,200]);
imshow(I.-[0,0,200]);
imshow(I.-200);
imshow(I-200);
a=I-200;
imtool(a);
imtool(a+255);
imtool(a+250);
imtool(a+200);
I.R = I.R+0.29
I.R
I(1)
I(1,1)
I(1,1,1)
I[1]
cform = makecform(I)
cform = makecform('Penguins.jpg')
%-- 14/02/2019 10:07 AM --%
anisotropy_modified
clear
clc
(1;2;3)
[1;2;3]
sum(ans)
a=[0,1,2;1,2,3;2,3,4;,3,4,5;4,5,6];b=[10,20,30,40,50];
a(1,1)
A1 = trapmf(x,a(1,1),a(1,1),a(1,2),a(1,3));
A2 = trimf(x,a(2,1),a(2,2),a(2,3));
x=1
A2 = trimf(x,a(2,1),a(2,2),a(2,3));
a[1]
a(1)
A1 = trapmf(x,[a(1,1),a(1,1),a(1,2),a(1,3)]);
A1 = trapmf(x,[a(1,1),a(1,1),a(1,2),a(1,3)]);
A2 = trimf(x,[a(2,1),a(2,2),a(2,3)]);
A3 = trimf(x,[a(3,1),a(3,2),a(3,3)]);
A4 = trimf(x,[a(4,1),a(4,2),a(4,3)]);
A5 = trapmf(x,[a(5,1),a(5,2),a(5,3),a(5,3)]);
A = [A1,A2,A3,A4,A5];
sum(A)
sum(b.*A)
b*A
A*b
A.*b
sum(ans)
x = 3.5
A1 = trapmf(x,[a(1,1),a(1,1),a(1,2),a(1,3)]);
A2 = trimf(x,[a(2,1),a(2,2),a(2,3)]);
A3 = trimf(x,[a(3,1),a(3,2),a(3,3)]);
A4 = trimf(x,[a(4,1),a(4,2),a(4,3)]);
A5 = trapmf(x,[a(5,1),a(5,2),a(5,3),a(5,3)]);
A = [A1,A2,A3,A4,A5];
b*A
b
A
A.*b
anisotropy_modified
colormap(map1);
colormap(flipud(colormap));
colormap();
anisotropy_modified
clear
clc
a=[0,1,2;1,2,3;2,3,4;,3,4,5;4,5,6];b=[10,20,30,40,50];
c = [12,4,14567,1,3];
sort(c)
Lb = [-10 -10 -10 -10 -10 -10 -10 -10 -10 -10-10 -10 -10 -10 -10 -10 -10 -10 -10 -10]; % can duoi cua bien thiet ke
Ub = [10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 ]; % can tren cua bien thiet ke
MATLAB Command History Page 42
May 7, 2019 3:46:17 PM
Lb = [-10 -10 -10 -10 -10 -10 -10 -10 -10 -10-10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10]; % can duoi cua bien thiet ke
Ub = [10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 ]; % can tren cua bien thiet ke
clear
clc
a=[0,1,2;1,2,3;2,3,4;,3,4,5;4,5,6];b=[10,20,30,40,50];
fpenal = max(abs(simout.data));
clear
clc
a=[0,1,2;1,2,3;2,3,4;,3,4,5;4,5,6];b=[10,20,30,40,50];
clea
clear
clc
Main
hmt_SMC
Main
hmt_SMC
Main
in = Simulink.SimulationInput('SISO_fuzzy');
in = in.setVariable('a',pa1);
in = in.setVariable('a',a);
in = in.setVariable('b',b);
in.applyToModel
result = sim(in);
clear
clc
a=[0,1,2;1,2,3;2,3,4;,3,4,5;4,5,6];b=[10,20,30,40,50];
plot(simout)
a=[0,1,2;1,2,3;2,3,4;,3,4,5;4,5,6];b=[-5,-2.5,0,2.5,5];
a=[0,1,2;1,2,3;2,3,4;,3,4,5;4,5,6];b=[-10,-5,0,5,10];
Main
in = Simulink.SimulationInput('SISO_fuzzy');
in = in.setVariable('a',a);
in = in.setVariable('b',b);
in.applyToModel
result = sim(in);
sim('SISO_fuzzy')
sort(a)
sort( x(1),x(2),x(3))
Main
a
Main
magic(10)
magic(5,3)
rand(5,3)
p = [sort(5,3,1);sort(8,7,5)]
b(1,:)=sort(a(1,:))
a
ans
c = sort(ans,'last')
c = sort(ans,'last',1)
c = sort(ans,2)
ans
a = rand(5,3)
b = sort(a,1)
b = sort(a,2)
Main
clear
clc
Main
m = reshape(xval,5,3)
m = reshape(xval,5)
m = reshape(xval,5,4)
vec2mat(xval,3)
a= vec2mat(xval(1:15),3)
b = xval(16:20)
clear
clc
load('luu_switch.mat')
a = vec2mat(xval(1:15),3)
b = xval(16:20)
a = sort(vec2mat(xval(1:15),3),2)
b = sort(xval(16:20),2)
Main
clear
clc
Lb = [-10 -10 -10 -10 -10 -10 -10 -10 -10 -10-10 -10 -10 -10 -10 -10]; % can duoi cua bien thiet ke
Ub = [10 10 10 10 10 10 10 10 10 10 10 10 10 10 10]; % can tren cua bien thiet ke
Main2
Lb = [-20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20]; % can duoi cua bien thiet ke
clear
Lb = [-20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20]; % can duoi cua bien thiet ke
Ub = [20 20 20 20 20 20 20 20 20 20 20 20 20 20 20]; % can tren cua bien thiet ke
clear
clc
Main2
sort(a,1)
a=sort(a,1)
a = sort(vec2mat(xval(1:15),3),2)
%-- 14/02/2019 5:07 PM --%
load('luu.mat')
a = sort(vec2mat(xval(1:15),3),2)
b=[-10,-5,0,5,10];
x=-100:100
x=-100:100;
for i=1:length(x)
A1(i) = trapmf(x(i),[-100,a(1,1),a(1,2),a(1,3)]);
A2(i) = trimf(x(i),[a(2,1),a(2,2),a(2,3)]);
A3(i) = trimf(x(i),[a(3,1),a(3,2),a(3,3)]);
A4(i) = trimf(x(i),[a(4,1),a(4,2),a(4,3)]);
A5(i) = trapmf(x(i),[a(5,1),a(5,2),a(5,3),100]);
end
A1=[]
for i=1:length(x)
A1(1,i) = trapmf(x(i),[-100,a(1,1),a(1,2),a(1,3)]);
A2(1,i) = trimf(x(i),[a(2,1),a(2,2),a(2,3)]);
A3(1,i) = trimf(x(i),[a(3,1),a(3,2),a(3,3)]);
A4(1,i) = trimf(x(i),[a(4,1),a(4,2),a(4,3)]);
A5(1,i) = trapmf(x(i),[a(5,1),a(5,2),a(5,3),100]);
end
plot(x,A1,x,A2,x,A3,x,A4,x,A5)
Main
Main2
a = sort(sort(vec2mat(xval(1:15),3),2),1)
save('input_x','a');
clear
load('input_x.mat')
clear
a=[-16.1779748810480,-7.86020561735242,-0.169433251126366;-4.87890894581578,-1.16918263970768,2.63776959118503;-2.80978404539611,0.601195562034429,4.31857947741602;
-0.730044902027702,1.47907103991928,4.95358280123707;0.0287841165594838,4.03097747029560,18.2453015650486]
Lb = [-10 -10 -10 -10 -10 -10]; % can duoi cua bien thiet ke
Ub = [10 10 10 10 10 10 ]; % can tren cua bien thiet ke
Main
clear
MATLAB Command History Page 43
May 7, 2019 3:46:17 PM
clc
Lb = [-20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20]; % can duoi cua bien thiet ke
Ub = [20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20]; % can tren cua bien thiet ke
load('luu.mat')
save('output_y','a');b = sort(xval(1:5))
b = sort(xval(1:5))
save('output_y','b')
clear
clc
load('output_y.mat')
load('luu.mat')
a = sort(sort(vec2mat(xval,3),2),1)
load('input_x.mat')
a = sort(sort(vec2mat(xval,3),2),1)
clear
load('input_x.mat')
clear
Main2
b=[-10,-6,-3,0,3,6,10];
a*b
A1 = trapmf(x,[-100,a(1,1),a(1,2),a(1,3)]);
A2 = trimf(x,[a(2,1),a(2,2),a(2,3)]);
A3 = trimf(x,[a(3,1),a(3,2),a(3,3)]);
A4 = trimf(x,[a(4,1),a(4,2),a(4,3)]);
A5 = trimf(x,[a(5,1),a(5,2),a(5,3)]);
A6 = trimf(x,[a(6,1),a(6,2),a(6,3)]);
A7 = trapmf(x,[a(7,1),a(7,2),a(7,3),100]);
Lb = [-20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20 -20]; % can duoi cua bien thiet ke
Ub = [20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20]; % can tren cua bien thiet ke
Main2
save('input_x2','a');
clear
clc
Lb = [-10 -10 -10 -10 -10 -10 -10]; % can duoi cua bien thiet ke
Ub = [10 10 10 10 10 10 10 ]; % can tren cua bien thiet ke
Main
b = sort(xval(1:7))
save('input_y2','b');
Main2
save('input_x3','a');
Main2
save('input_x4','a');
clear
load('input_x3.mat')
Main
save('input_y3','b');
Main
save('input_y4','b');
Main2
%-- 15/02/2019 8:50 AM --%
Main2
save('input_x5','a');
Main
clear
load('luu.mat')
b = sort(xval(1:7))
save('input_y5','b');
clear
clc
Lb = [-10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 -10 ]; % can duoi cua bien thiet ke
Ub = [10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 ]; % can tren cua bien thiet ke
a = [2,10,45,a(1)+1,43]
Lb = [-5 1 1 0 1 1 0 1 1 0 1 1 0 1 1]; % can duoi cua bien thiet ke
Ub = [5 5 5 2 5 5 2 5 5 2 5 5 2 5 5]; % can tren cua bien thiet ke
%-- 15/02/2019 1:00 PM --%
Main3
a32 = xval(1); a31 = xval(1) - xval(2); a33 = a32 + xval(3);
a23 = a31 + xval(4); a22 = a23 - xval(5); a21 = a22 - xval(6);
a13 = a21 + xval(7); a12 = a13 - xval(8); a11 = a12 - xval(9);
a41 = a33 - xval(10); a42 = a41 + xval(11); a43 = a42 + xval(12);
a51 = a43 - xval(13); a52 = a51 + xval(14); a53 = a52 + xval(15);
a = [ a11 a12 a13;
a21 a22 a23;
a31 a32 a33;
a41 a42 a43;
a51 a52 a53];
b=[-15,-7,0,7,15];
Plot_membership_function
A=[5,length(x)]
A=[]
for i = 1:length(x)
A(i,1) = trapmf(x,[-100,a(1,1),a(1,2),a(1,3)]);
A(i,2) = trimf(x,[a(2,1),a(2,2),a(2,3)]);
A(i,3) = trimf(x,[a(3,1),a(3,2),a(3,3)]);
A(i,4) = trimf(x,[a(4,1),a(4,2),a(4,3)]);
A(i,5) = trapmf(x,[a(5,1),a(5,2),a(5,3),100]);
end
Plot_membership_function
load('input_x.mat')
Plot_membership_function
load('input_x2.mat')
Plot_membership_function
load('input_y2.mat')
plot(b)
vec2mat(xval,3)
vec2mat(xval,1)
co = b(1:5)
Main3
Plot_membership_function
for j = 1:length(y)
B(1,i) = trimf(x(i),[b(1)-0.001,b(1),b(1)+0.001]);
B(2,i) = trimf(x(i),[b(2)-0.001,b(2),b(2)]+0.001);
B(3,i) = trimf(x(i),[b(3)-0.001,b(3),b(3)+0.001]);
B(4,i) = trimf(x(i),[b(4)-0.001,b(4),b(4)+0.001]);
B(5,i) = trimf(x(i),[b(5)-0.001,b(5),b(5)+0.001]);
end
figure;
plot(y,B(1,:),y,B(2,:),y,B(3,:),y,B(4,:),y,B(5,:),'LineWidth',2);
hold on
legend 'B1' 'B2' 'B3' 'B4' 'B5'
hold off
b(1)
for j = 1:length(y)
B(1,i) = trimf(x(i),[b(1)-0.1,b(1),b(1)+0.1]);
B(2,i) = trimf(x(i),[b(2)-0.1,b(2),b(2)+0.1]);
B(3,i) = trimf(x(i),[b(3)-0.1,b(3),b(3)+0.1]);
B(4,i) = trimf(x(i),[b(4)-0.1,b(4),b(4)+0.1]);
B(5,i) = trimf(x(i),[b(5)-0.1,b(5),b(5)+0.1]);
end
figure;
plot(y,B(1,:),y,B(2,:),y,B(3,:),y,B(4,:),y,B(5,:),'LineWidth',2);
hold on
legend 'B1' 'B2' 'B3' 'B4' 'B5'
MATLAB Command History Page 44
May 7, 2019 3:46:17 PM
hold off
for j = 1:length(y)
B(1,i) = trimf(x(i),[b(1)-1,b(1),b(1)+1]);
B(2,i) = trimf(x(i),[b(2)-1,b(2),b(2)+1]);
B(3,i) = trimf(x(i),[b(3)-1,b(3),b(3)+1]);
B(4,i) = trimf(x(i),[b(4)-1,b(4),b(4)+1]);
B(5,i) = trimf(x(i),[b(5)-1,b(5),b(5)+1]);
end
figure;
plot(y,B(1,:),y,B(2,:),y,B(3,:),y,B(4,:),y,B(5,:),'LineWidth',2);
hold on
legend 'B1' 'B2' 'B3' 'B4' 'B5'
hold off
plot(y,B(1,:),'LineWidth',2);
figure
line(1,2)
line(x,2)
line(x,1,1,1)
line([1 3],[4 6])
line([-9 -9],[1 1])
line([0.2, 19.8], [1, 1], 'Color', [1,0,0]);
line([-9 -9],[1 1],'LineWidth',2)
line([-9 -9],[0 1],'LineWidth',2)
line(-10:10,0:1,[-9 -9],[0 1],'LineWidth',2)
line('xdata',[-9 -9],'ydata',[0 1],'LineWidth',2)
plot(x,A(1,:),x,A(2,:),x,A(3,:),x,A(4,:),x,A(5,:),'LineWidth',2);
legend 'A1' 'A2' 'A3' 'A4' 'A5'
figure;
hold on
line([b(1) b(1)],[0 1],'b','LineWidth',2);
line([b(2) b(2)],[0 1],'r','LineWidth',2);
line([b(3) b(3)],[0 1],'y','LineWidth',2);
line([b(4) b(4)],[0 1],'m','LineWidth',2);
line([b(5) b(5)],[0 1],'c','LineWidth',2);
legend 'B1' 'B2' 'B3' 'B4' 'B5'
hold off
line([b(1) b(1)],[0 1],'b','LineWidth',2);
line([b(1) b(1)],[0 1],'LineWidth',2);
Plot_membership_function
line([b(1) b(1)],[0 1],'color',[0 0 1],'LineWidth',3);
line([b(2) b(2)],[0 1],'color',[1 0 0],'LineWidth',3);
line([b(3) b(3)],[0 1],'color',[1 1 0],'LineWidth',3);
line([b(4) b(4)],[0 1],'color',[1 0 1],'LineWidth',3);
line([b(5) b(5)],[0 1],'color',[0 1 0],'LineWidth',3);
legend 'B1' 'B2' 'B3' 'B4' 'B5'
hold off
clear
clc
load('input_x.mat')
load('input_x2.mat')
load('input_y2.mat')
Plot_membership_function
load('input_y3.mat')
load('input_x3.mat')
Plot_membership_function
load('input_x4.mat')
load('input_y4.mat')
Plot_membership_function
load('input_y5.mat')
load('input_x5.mat')
Plot_membership_function
clear
clc
load('input_x2.mat')
load('input_y2.mat')
Plot_membership_function
Plot_membership_function2
Plot_membership_function
load('input_x.mat')
Plot_membership_function2
clear
clc
load('input_x5.mat')
load('input_y5.mat')
Plot_membership_function2
%-- 15/02/2019 4:30 PM --%
load('imDO_FDSMC_switch1_nondis_road3.mat')
load('luu_bump1.mat')
clear
clc
load('luu_bump1.mat')
clear
clc
load('input_y5.mat')
load('input_x5.mat')
%-- 16/02/2019 1:59 PM --%
load('input_y5.mat')
load('input_x5.mat')
%-- 17/02/2019 3:06 PM --%
Parameter
clear
load('input_x.mat')
Parameter
plot(x1)
plot(zr)
Parameter
load('input_y5.mat')
load('input_x5.mat')
y = b(1:5)
save('input_y','y');
clear
clc
load('input_y.mat')
y
y = [-10,-5,0,5,10]
save('input_y','y');
clear
clc
Parameter
load('input_x.mat')
load('input_y.mat')
b=y
save('input_y','b');
load('input_x.mat')
load('input_y.mat')
%-- 18/02/2019 11:14 AM --%
Parameter
a_v
clear
a_v = load('input_x.mat');
load('input_x.mat')
load('input_x.mat');
load('input_y.mat');
MATLAB Command History Page 45
May 7, 2019 3:46:17 PM
clear
Parameter
plot(zr)
figure;plot(x2_dot)
figure;plot(x2dot)
clear
clc
Parameter
figure;plot(x2dot)
figure;plot(zr)
Parameter
zr
figure;plot(zr)
figure;plot(x2dot)
clear
clc
Parameter
figure;plot(x2dot)
figure;plot(S)
figure;plot(es_f)
figure;plot(es_cs)
figure;plot(es_ks)
figure;plot(es_g1)
Parameter
figure;plot(zr)
figure;plot(x2dot)
figure;plot(es_d)
figure;plot(d)
figure;plot(dt)
figure;plot(rho_ad)
figure;plot(S)
figure;plot(x1)
figure;plot(us)
figure;plot(uc)
figure;plot(u)
Parameter
figure;plot(x1-zr)
figure;plot(x2-zr_dot)
clear
clc
Lb = [0.8 -100 1 0.1 0.1 0.1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1]; % can duoi cua bien thiet ke
Ub = [0.95 100 100 1000 1000 1000 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20]; % can tren cua bien thiet ke
7+15
a_ks = sort(sort(vec2mat(Lb(7:22),3),2),1)
a_ks = sort(sort(vec2mat(Lb(6:22),3),2),1)
a_ks = sort(sort(vec2mat(Lb(7:21),3),2),1)
22+15
a_ks = sort(sort(vec2mat(Lb(22:36),3),2),1)
a_ks = sort(sort(vec2mat(Lb(37:51),3),2),1)
13500-13500*0.3
13500*1.3
1250*0.7
1250*1.3
350*1.5
9450+17550
ans/2
9450+13500
ans/2
13500+17550
ans/2
875+1250
ans/2
1250+1625
ans/2
350+525
ans/2
437.5+350
ans/2
437.5+525
ans/2
clear
b_ks = [9450,11475,13500,15525,17550];
b_cs = [875,1062.5,1250,1437.5,1625];
b_v = [350,393.75,437.5,481.25,525];
clear
clc
Main3
a=a_cs;b=b_cs;
Plot_membership_function
figure;plot(x2dot)
figure;plot(es_ks)
figure;plot(es_cs)
figure;plot(x2-zr_dot)
figure;plot(x1-zr)
Lb = [0.8 -100 1 0.1 0.1 0.1 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1]; % can duoi cua bien thiet ke
Ub = [0.95 100 100 1000 1000 1000 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20]; % can tren cua bien thiet ke
clear
Lb = [0.8 -100 1 0.1 0.1 0.1 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 -2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1]; % can duoi cua bien thiet ke
Ub = [0.95 100 100 1000 1000 1000 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20]; % can tren cua bien thiet ke
a_ks = sort(sort(vec2mat(Lb(37:51),3),2),1)
a_ks = sort(sort(vec2mat(Lb(22:36),3),2),1)
a_ks = sort(sort(vec2mat(Lb(6:22),3),2),1)
clear
clc
Main3
a=a_ks;b=b_ks;
Plot_membership_function
a1
asd=a'
clear
clc
Main3
b_v=b_v';b_cs=b_cs';b_ks=b_ks';
uq =b_v*b_cs
uq =b_v.*b_cs
load('input_x.mat')
a_cs=a;a_ks=a;a_v=a;
b_cs(1)
Main3
figure;plot(x1-zr)
figure;plot(x2dot)
v=10;
figure;plot(x2dot)
figure;plot(x1)
figure;plot(u)
figure;plot(us)
figure;plot(uc)
figure;plot(es_d)
figure;plot(z)
figure;plot(S)
figure;plot(rho_da)
figure;plot(rho_ad)
figure;plot(mst)
MATLAB Command History Page 46
May 7, 2019 3:46:17 PM
figure;plot(es_m)
figure;plot(es_ms)
figure;plot(es_ks)
figure;plot(es_cs)
figure;plot(es_f)
figure;plot(x2dot)
figure;plot(es_ks)
figure;plot(es_cs)
figure;plot(es_f)
figure;plot(es_d)
figure;plot(es_ms)
b_v
a_v
figure;plot(es_g1)
v=20
v=10
v=15
figure;plot(x2dot)
figure;plot(S)
a2=1;
figure;plot(dt)
v=10;
figure;plot(dt)
v
v=5;
v=10;
figure;plot(vt)
figure;plot(x2dot)
a_v
a=a_v
b=b_v
Plot_membership_function
350*0.5
ans/2
175*0.75
clear
clc
Main3
figure;plot(x2dot)
figure;plot(vt)
figure;plot(zr)
figure;plot(x1-zr)
figure;plot(x1)
figure;plot(x1-x3)
figure;plot(x2-x4)
figure;plot(x3)
figure;plot(x1-x3)
figure;plot(x3)
figure;plot(S)
a1
a1 = 102;
figure;plot(S)
a1 = 5;
figure;plot(S)
figure;plot(rho_ad)
om0
k0
figure;plot(rho_ad)
figure;plot(es_f)
figure;plot(S)
figure;plot(es_ks)
figure;plot(es_cs)
13500-9450
17550-13500
ans*2
13500-11475
1250-875
1250-1062.5
b_ks = [-4050,-2025,0,2025,4050];
b_cs = [-375,-187.5,0,187.5,375];
b_v = [0,43.75,87.5,131.25,175];
alfa
om0=1
k0=1
a1=12;
à=1
a2=1;
l2
l2=24;
figure;plot(vt)
figure;plot(x1)
figure;plot(x2)
figure;plot(x2-x4)
figure;plot(x1-x3)
figure;plot(S)
figure;plot(es_f)
figure;plot(es_ks)
figure;plot(S)
figure;plot(es_g1)
figure;plot(es_f)
figure;plot(x1-x3)
figure;plot(x1-zr)
figure;plot(x2-zr_dot)
figure;plot(u)
figure;plot(us)
figure;plot(uc)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(es_ms)
figure;plot(es_ks)
figure;plot(es_cs)
figure;plot(es_g1)
figure;plot(vt)
figure;plot(x2dot)
figure;plot(u)
figure;plot(vt)
figure;plot(zr)
figure;plot(x2dot)
figure;plot(S)
figure;plot(u)
%-- 19/02/2019 8:23 AM --%
load('input_x.mat')
load('input_y.mat')
b=[-10,-5,0,5,10]
clear
clc
load('input_y5.mat')
load('input_x5.mat')
Main3
Parameter
clear
clc
MATLAB Command History Page 47
May 7, 2019 3:46:17 PM
Parameter
figure;plot(vt)
figure;plot(zr)
figure;plot(x2dot)
figure;plot(x1)
figure;plot(x2)
figure;plot(x3)
figure;plot(x4)
figure;plot(x1-x3)
figure;plot(x2-x4)
figure;plot(x1-zr)
figure;plot(x2-zr_dot)
figure;plot(f)
figure;plot(Fsd)
figure;plot(Fr)
figure;plot(u)
figure;plot(x2dot)
figure;plot(us)
figure;plot(uc)
figure;plot(es_f)
rho = 5;
figure;plot(x2dot)
rho = om0*k0;
rho = om0*k0
Parameter
rho = om0*k0
Parameter
figure;plot(x2dot)
rho = 25
figure;plot(S)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
5/1.2
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
7/1.2
6/1.2
6.5/1.2
Parameter
figure;plot(x2dot)
1.2*5
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(u)
figure;plot(x1-zr)
figure;plot(x3)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
clear
Lb = [0.8 -1000 1 0.1 0.1 0.1]; % can duoi cua bien thiet ke
Ub = [0.95 5 3 100 100 1000]; % can tren cua bien thiet ke
Parameter
figure;plot(x2dot)
Main3_non_estimate
rho
rho = om0*k0
Main3_non_estimate
alfa = xval(1);
om0 = xval(2);
k0 = xval(3);
a1 = xval(4);
a2 = xval(5);
l2 = xval(6);
figure;plot(x2dot)
Main3
alfa = xval(1);
om0 = xval(2);
k0 = xval(3);
a1 = xval(4);
a2 = xval(5);
l2 = xval(6);
a_ks = sort(sort(vec2mat(xval(7:21),3),2),1);
a_cs = sort(sort(vec2mat(xval(22:36),3),2),1);
a_v = sort(sort(vec2mat(xval(37:51),3),2),1);
toc
figure;plot(x2dot)
om0
k0
figure;plot(x2dot)
figure;plot(vt)
figure;plot(zr)
figure;plot(x2dot)
MATLAB Command History Page 48
May 7, 2019 3:46:17 PM
om0=6;k0=1.2;
om0=5;
a= a_v;b = b_v;
Plot_membership_function
a=a_ks;b=b_ks;
Plot_membership_function
figure;plot(x2dot)
clear
clc
load('sensor.mat')
figure;plot(zr)
clear
clc
load('luu_sine.mat')
alfa = xval(1);
om0 = xval(2);
k0 = xval(3);
a1 = xval(4);
a2 = xval(5);
l2 = xval(6);
a_ks = sort(sort(vec2mat(xval(7:21),3),2),1);
a_cs = sort(sort(vec2mat(xval(22:36),3),2),1);
a_v = sort(sort(vec2mat(xval(37:51),3),2),1);
clear fval
clear xval
PHI = 1;
eps = 0.1;
ms0 = 350;
ks0 = 13500;
cs0 = 1250;
ms = 390;%11600; % chassis mass (kg)
mu = 59;%850; % front suspension mass (kg)
ks1 = 14500;%6050000; % (N/m)
ks2 = 160000; % (N/m^3)
cs1 = 1385;%53900;%+10000; % (Ns/m)
cs2 = 524; % (Ns^2/m^2)
kt = 190000;%36800000;%-10^7; % (N/m)
ct = 14500;%81400; % (Ns/m)
deltaT = 1; % Simulation time step
%% Road track parameters
v = 10; % Car velocity (m/s)
figure;plot(x2dot)
figure;plot(x1)
load('luu_sine.mat')
alfa = xval(1);
om0 = xval(2);
k0 = xval(3);
a1 = xval(4);
a2 = xval(5);
l2 = xval(6);
a_ks = sort(sort(vec2mat(xval(7:21),3),2),1);
a_cs = sort(sort(vec2mat(xval(22:36),3),2),1);
a_v = sort(sort(vec2mat(xval(37:51),3),2),1);
b_ks = [-4050,-2025,0,2025,4050];
b_cs = [-375,-187.5,0,187.5,375];
b_v = [0,43.75,87.5,131.25,175];
om0=0.5
k0
k0=1.2
om0
om0=6
k0=1.2
PHI=0.1;
figure;plot(zr)
figure;plot(vt)
figure;plot(S)
figure;plot(x2dot)
figure;plot(x3)
figure;plot(x4)
figure;plot(us)
figure;plot(uc)
figure;plot(z)
figure;plot(es_ms)
figure;plot(es_d)
figure;plot(es_cs)
figure;plot(es_ks)
figure;plot(es_ms)
figure;plot(rho_ad)
figure;plot(es_f)
figure;plot(es_g1)
figure;plot(us)
figure;plot(S)
b_cs
a_cs
see
see.data
figure;plot(x2-zr_dot)
figure;plot(x2dot)
figure;plot(x2-zr_dot)
figure;plot(u)
figure;plot(us)
figure;plot(uc)
figure;plot(dt)
a_v
figure;plot(om)
figure;plot(u)
figure;plot(x2dot)
PHI
PHI=1;
om0=50;
k0
figure;plot(x2dot)
figure;plot(u)
figure;plot(om)
figure;plot(rho_ad)
om0
figure;plot(esf)
figure;plot(es_f)
figure;plot(es_g1)
om0=1000;
figure;plot(x2dot)
figure;plot(om)
figure;plot(x2dot)
om0=-1000;
figure;plot(x2dot)
om0=50;
k0=1;
figure;plot(x2dot)
k0=1000;
k0=500;
k0=250;
figure;plot(x2dot)
k0=350;
MATLAB Command History Page 49
May 7, 2019 3:46:17 PM
k0=300;
k0=200;
figure;plot(x2dot)
om0=1000;
figure;plot(x2dot)
om0=-1000;
figure;plot(x2dot)
a1=1000;
a1=900;
Main3
a1=500;
clear
clc
Parameter
load('luu_sine.mat')
alfa = xval(1);
om0 = xval(2);
k0 = xval(3);
a1 = xval(4);
a2 = xval(5);
l2 = xval(6);
a_ks = sort(sort(vec2mat(xval(7:21),3),2),1);
a_cs = sort(sort(vec2mat(xval(22:36),3),2),1);
a_v = sort(sort(vec2mat(xval(37:51),3),2),1);
b_ks = [-4050,-2025,0,2025,4050];
b_cs = [-375,-187.5,0,187.5,375];
b_v = [0,43.75,87.5,131.25,175];
k0=200;om0=1000;
a1=500;
a2
a1=250;
a1=150;
a1=100;
figure;plot(x2dot)
figure;plot(u)
figure;plot(us)
figure;plot(uc)
figure;plot(S)
a2=1.2;
a1=80;
a1=70;
a1=50;
a1=20;
a1=10;
figure;plot(S)
figure;plot(x2dot)
a1=15;
a1=12;
a1=13;
figure;plot(x2dot)
a2=1000;
a2=100;
a2=10;
a2=5;
figure;plot(x2dot)
a2=8;
a2=0.1;
figure;plot(x2dot)
a2=8;
a1=12;
l2=1000
l2=24.4
a1=12;
a2=6;
a2=1.2;
figure;plot(x2dot)
a1=100;
a1=12;
l2=100;
figure;plot(x2dot)
l2=1000;
clear
clc
Main3
k0
om0
l2
a1
a2
Main3
clear all
close all
clc
Main3
om0
l2
clear all
close all
clc
Main3
clear
clear all
close all
Main3
clear all
close all
Main3
clear
clc
Main3
om0
k0
l2
a1
a2
a2=1
a2=1.8191
a1
a1=8
a1=11.4642
om0
om0=4
om0=2
om0=-8
om0=8.2133
k0
k0=1.2
alfa
k0=1.1
k0=om0/5
a=a_ks
b=b_ks
Plot_membership_function
MATLAB Command History Page 50
May 7, 2019 3:46:17 PM
clear
clc
Lb = [0.8 1 1 0.1 1 0.1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1]; % can duoi cua bien thiet ke
Ub = [0.95 50 3 12 2 40 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20]; % can tren cua bien thiet ke
Lb = [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1]; % can duoi cua bien thiet ke
Ub = [1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20]; % can tren cua bien thiet ke
clear
clc
Main3_fuzzy
om0 = -100;
om0 = 6
a=a_cs;b=b_cs;
Plot_membership_function
a= sort(a)
Plot_membership_function
a=a_v;b=b_v
Plot_membership_function
clear
Lb = [-1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1]; % can duoi cua bien thiet ke
Ub = [0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 1 1 1 1 1 1 1 1 1 0 0 0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20]; % can tren cua bien thiet ke
a_ks = sort(sort(vec2mat(Lb(7:21),3),2),1)
Main3_fuzzy
a=a_v;b=b_v
Plot_membership_function
a=a_cs;b=b_cs;
Plot_membership_function
Main3_fuzzy
a=a_cs;b=b_cs;
Plot_membership_function
a=a_ks;b=b_ks;
Plot_membership_function
Main3_fuzzy
a=a_ks;b=b_ks;
Plot_membership_function
a=a_cs;b=b_cs;
Plot_membership_function
%-- 20/02/2019 2:29 PM --%
load('luu_sine.mat')
a_ks = sort(sort(vec2mat(xval(7:21),3),2),1);
a_cs = sort(sort(vec2mat(xval(22:36),3),2),1);
a_v = sort(sort(vec2mat(xval(37:51),3),2),1);
a=a_v;b=b_v;
b_ks = [-4050,-2025,0,2025,4050];
b_cs = [-375,-187.5,0,187.5,375];
b_v = [0,43.75,87.5,131.25,175];
a=a_v;b=b_v;
Plot_membership_function
clear
Lb = [-2 -1 -0.5,-1 -1 -1,-1 -1 -1,-1 0 0.5,0 0.5 1]; % can duoi cua bien thiet ke
Ub = [-1 -0.5 0,-0.5 0 1,1 1 1,1 1 1,0.5 1 2]; % can tren cua bien thiet ke
Lb = [-2 -1 -0.5,-1 -1 -1,-1 -1 -1,-1 0 0.5,0 0.5 1,-2 -1 -0.5,-1 -1 -1,-1 -1 -1,-1 0 0.5,0 0.5 1,0 0 5,0 0 0,0 0 0,0 0 15,19 10 0]; % can duoi cua bien thiet ke
Ub = [-1 -0.5 0,-0.5 0 1,1 1 1,1 1 1,0.5 1 2,-1 -0.5 0,-0.5 0 1,1 1 1,1 1 1,0.5 1 2,1 10 20,5 20 20,20 20 20,20 20 20,20 20 15]; % can tren cua bien thiet ke
Main3_fuzzy
a=a_v;b=b_v;
Plot_membership_function
a=a_ks;b=b_ks;
Plot_membership_function
a=a_cs;b=b_cs;
Plot_membership_function
Main3_fuzzy
a=a_cs;b=b_cs;
Plot_membership_function
Main3_fuzzy
a=a_cs;b=b_cs;
Plot_membership_function
a=a_ks;b=b_ks;
Plot_membership_function
a=a_v;b=b_v;
Plot_membership_function
15+6
22+15
37+15
Main3
a=a_v;b=b_v;
Plot_membership_function
a=a_ks;b=b_ks;
Plot_membership_function
a=a_cs;b=b_cs;
Plot_membership_function
-.9
clear
Lb = [0.8 1 1 0.1 1 0.1,-.9 -.7 -.5 -1 -.8 -.6 -1 -.8 .7 -.3 -.1 .6 .1 .3 .5,-.9 -.7 -.5 -1 -.8 -.6 -1 -.8 .7 -.3 -.1 .6 .1 .3 .5,]; % can duoi cua bien thiet ke
Ub = [0.95 50 3 12 2 40,.5 -.3 -.1 -.6 .1 .3 -.3 .8 1 .6 .8 1 .5 .7 .9,.5 -.3 -.1 -.6 .1 .3 -.3 .8 1 .6 .8 1 .5 .7 .9,]; % can tren cua bien thiet ke
Lb = [0.8 1 1 0.1 1 0.1,-.9 -.7 -.5 -1 -.8 -.6 -1 -.8 .7 -.3 -.1 .6 .1 .3 .5,-.9 -.7 -.5 -1 -.8 -.6 -1 -.8 .7 -.3 -.1 .6 .1 .3 .5,1 3 5 0 2 4 0 2 17 7 9 16 11 13 15]; % can duoi cua
bien thiet ke
Ub = [0.95 50 3 12 2 40,.5 -.3 -.1 -.6 .1 .3 -.3 .8 1 .6 .8 1 .5 .7 .9,.5 -.3 -.1 -.6 .1 .3 -.3 .8 1 .6 .8 1 .5 .7 .9,5 7 9 4 11 13 3 18 20 16 18 20 15 17 19]; % can tren cua bien thiet
ke
Main3
a=a_cs;b=b_cs;
Plot_membership_function
Main3
a=a_cs;b=b_cs;
Plot_membership_function
Main3
a=a_cs;b=b_cs;
Plot_membership_function
a=a_ks;b=b_ks;
Plot_membership_function
a=a_v;b=b_v;
Plot_membership_function
clear
clc
Lb = [-1 -.9 -.6 -1 -.7 -.3 -1 -.4 .4 -.1 .3 .7 .1 .6 .9,-1 -.9 -.6 -1 -.7 -.3 -1 -.4 .4 -.1 .3 .7 .1 .6 .9,0 1 4 0 3 7 0 6 14 0 13 17 11 16 19]; % can duoi cua bien thiet ke
Ub = [-.9 -.6 -.1 -.7 -.3 .1 -.4 .4 1 .3 .7 1 .6 .9 1,-.9 -.6 -.1 -.7 -.3 .1 -.4 .4 1 .3 .7 1 .6 .9 1,1 4 9 3 7 20 6 14 20 13 17 20 16 19 20]; % can tren cua bien thiet ke
Main3_fuzzy
Main3
a_ks = sort(vec2mat(xval(7:21),3),2);
a_cs = sort(vec2mat(xval(22:36),3),2);
a_v = sort(vec2mat(xval(37:51),3),2);
toc
figure;plot(x2dot)
a=a_v;b=b_v;
Plot_membership_function
figure;plot(x2dot)
figure;plot(es_g1)
figure;plot(es_f)
figure;plot(us)
figure;plot(x2dot)
figure;plot(u)
figure;plot(us)
figure;plot(uc)
figure;plot(x2dot)
Main3
MATLAB Command History Page 51
May 7, 2019 3:46:17 PM
om0
k0
Main3
a1
Main3
a1
Main3
a1
Main3
om0
l2
a1
Main3
om0
l2
a1
Main3
a=a_v;b=b_v;
Plot_membership_function
a=a_ks;b=b_ks;
Plot_membership_function
figure;plot(x2dot)
om0
k0
l2
a_ks
b_ks
b_cs
b_v
clear
Lb = [-4050 -4050 -4050 -4050 -4050,-375 -375 -375 -375 -375,0 0 0 0 0]; % can duoi cua bien thiet ke
Ub = [4050 4050 4050 4050 4050,375 375 375 375 375,175 175 175 175 175]; % can tren cua bien thiet ke
Main4
a=a_ks;b=b_ks;
Plot_membership_function
a=a_v;b=b_v;
Plot_membership_function
figure;plot(x2dot)
max(x2dot.data)
mean(x2dot.data)
Main4
figure;plot(x2dot)
clear
clc
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
om0
om0=-om0
k0
k0=2
k0=1.2
l2
l2=24.4
a2=1
Parameter
a2=1
Parameter
a1=9
figure;plot(x2dot)
a1=48
a1=40
a1=30
figure;plot(x2dot)
a1=1.2
figure;plot(x2dot)
a1=9
Parameter
a1=30
figure;plot(x2dot)
figure;plot(u)
ms0*10
figure;plot(uc)
figure;plot(us)
figure;plot(es_g1)
1/ms0
figure;plot(es_f)
figure;plot(es_ks)
ks
ks0
figure;plot(es_cs)
figure;plot(x1-zr)
0.08*13504
figure;plot(x2-zr_dot)
figure;plot(es_g1.time,es_g1.data.*(es_ks.data.*(x1.data-zr.data)+es_cs.data.*(x2.data-zr_dot.data)))
figure;plot(es_g1)
Parameter
figure;plot(x2dot)
figure;plot(es_g1.time,es_g1.data.*(es_ks.data.*(x1.data-zr.data)+es_cs.data.*(x2.data-zr_dot.data)))
figure;plot(us)
figure;plot(es_g1.time,es_g1.data.*(es_ks.data.*(x1.data-x3.data)+es_cs.data.*(x2.data-x4.data)))
figure;plot(rho_ad)
figure;plot(S)
figure;plot(x2.time,-a1*x2.data./(es_g1.data+eps))
figure;plot(x2.time,-a1*x2.data./(-1/ms0+eps))
figure;plot(x2.time,-a1*x2.data/(-1/ms0+eps))
a1
Parameter
figure;plot(x2.time,-a1*x2.data/(-1/ms0+eps))
load('road2.mat')
load('road3.mat')
figure;plot(x2.time,-a1*x2.data/(-1/ms0+eps))
figure;plot(Fr+Fsd)
Parameter
figure;plot(es_f)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(rho_ad)
Parameter
figure;plot(rho_ad)
Parameter
%-- 22/02/2019 6:43 AM --%
Parameter
ks0
ks0*0.2
MATLAB Command History Page 52
May 7, 2019 3:46:17 PM
ks0*0.1
cs0*0.2
cs0*0.1
v*0.1
ms0*0.2
ms0*0.1
Parameter
figure;plot(x2dot)
figure;plot(ut)
figure;plot(u)
Parameter
figure;plot(ut)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
1350/2
125/2
35/2
Parameter
figure;plot(x2dot)
figure;plot(u)
675/2
62.5/2
17.5/2
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(x2dot)
figure;plot(u)
figure;plot(es_f)
clear
clc
Lb = [0.8 -50 1 0.1 1 0.1,-1 -.9 -.6 -1 -.7 -.3 -1 -.4 .4 -.1 .3 .7 .1 .6 .9,-1 -.9 -.6 -1 -.7 -.3 -1 -.4 .4 -.1 .3 .7 .1 .6 .9]; % can duoi cua bien thiet ke
Ub = [0.95 50 3 50 2 1000,-.9 -.6 -.1 -.7 -.3 .1 -.4 .4 1 .3 .7 1 .6 .9 1,-.9 -.6 -.1 -.7 -.3 .1 -.4 .4 1 .3 .7 1 .6 .9 1]; % can tren cua bien thiet ke
Main5
Parameter
figure;plot(x2dot)
Main5
ks0*0.2
2700/2
cs0*0.2
v*0.2
ms0*0.2
Main5
a_ks
ks0*0.2
clear
clc
Lb = [-2700 -2700 -2700 -2700 -2700,-250 -250 -250 -250 -250,-70 -70 -70 -70 -70]; % can duoi cua bien thiet ke
Ub = [2700 2700 2700 2700 2700,250 250 250 250 250,70 70 70 70 70]; % can tren cua bien thiet ke
Main4
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(u)
figure;plot(us)
figure;plot(es_f)
figure;plot(es_g1)
Main4
%-- 25/02/2019 10:18 AM --%
Parameter
2700/2
clear
clc
Main4
1350/2
125/2
35/2
Main4
%-- 25/02/2019 1:53 PM --%
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(u)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
%-- 26/02/2019 7:54 AM --%
Parameter
rho = om0*k0
Parameter
rho = om0*k0
figure;plot(x2dot)
rho = om0
figure;plot(x2dot)
rho = 1.2
figure;plot(x2dot)
rho = 0.2
figure;plot(x2dot)
l2=24.4
figure;plot(x2dot)
rho = 1.2
Parameter
rho = 1.2
ot
figure;plot(x2dot)
figure;plot(u)
figure;plot(us)
MATLAB Command History Page 53
May 7, 2019 3:46:17 PM
Parameter
figure;plot(x2dot)
rho = 1.5
figure;plot(x2dot)
Parameter
figure;plot(us)
figure;plot(u)
figure;plot(x1)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(u)
rho = 10
figure;plot(x2dot)
Parameter
rho = 1000
figure;plot(x2dot)
a2=1000
figure;plot(x2dot)
a1=1000
figure;plot(x2dot)
Main2
%-- 26/02/2019 8:54 AM --%
Main2
figure;plot(x2dot)
a2=1;
figure;plot(x2dot)
Main2
alfa
a1
rho
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Main3
a1
om0
k0
Main3
k0
om0
Main3
om0
k0
Main3
k0
Main3
alfa
om0
a1
Parameter
figure;plot(x2dot)
k0=100
figure;plot(x2dot)
Main3
om0
Parameter
count
data(count) = max(abs(result.x2dot.data))
data(5)
data(count,1) = max(abs(result.x2dot.data))
clear
Parameter
save('data.mat',data);
save('data.mat','data');
A = reshape(data,[100,20])
mesh(1:100,1:20,A)
mesh(1:20,1:100,A)
colormap jet
save('data1.mat','A');
Parameter
save('data3.mat','data');
A = reshape(data,[1000,200])
A = vec2mat(data,1000)
A = vec2mat(data,200)
save('data2.mat','A');
mesh(1:200,1:1000,A)
mesh(1:200,1:223,A)
colormap jet
clear
clc
alfa = 0.99
Parameter
figure;plot(x2dot)
a = inf
a = +inf
a = -inf
a = inf
Parameter
figure;plot(x2dot)
clear
clc
alfa = 0.99;
Parameter
figure;plot(x2dot)
figure;plot(x2)
figure;plot(x1)
figure;plot(zr)
figure;plot(x1)
figure;plot(x2)
figure;plot(x2dot)
Parameter
figure;plot(zr)
figure;plot(x1)
figure;plot(x2)
figure;plot(x2dot)
load('road1.mat')
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
MATLAB Command History Page 54
May 7, 2019 3:46:17 PM
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Main2
clear
clc
Main2
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(us)
figure;plot(u)
Parameter
figure;plot(x2dot)
clear
load('input_x.mat')
load('output_y.mat')
a_ks = a;a_cs = a;a_v = a;
%-- 28/02/2019 10:44 AM --%
load('luu_test2_road3.mat')
load('luu_test3_road3.mat')
Parameter
figure;plot(zr)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(u)
figure;plot(us)
figure;plot(uc)
figure;plot(es_f)
figure;plot(es_g1)
figure;plot(es_d)
Parameter
clear
Parameter
clear
Lb = [0.8 1 1 1 1 1,-1 -.9 -.6 -1 -.7 -.3 -1 -.4 .4 -.1 .3 .7 .1 .6 .9,-1 -.9 -.6 -1 -.7 -.3 -1 -.4 .4 -.1 .3 .7 .1 .6 .9,0 1 4 0 3 7 0 6 14 0 13 17 11 16 19]; % can duoi cua bien
thiet ke
Ub = [0.95 100 100 100 100 1000,-.9 -.6 -.1 -.7 -.3 .1 -.4 .4 1 .3 .7 1 .6 .9 1,-.9 -.6 -.1 -.7 -.3 .1 -.4 .4 1 .3 .7 1 .6 .9 1,1 4 9 3 7 20 6 14 20 13 17 20 16 19 20]; % can tren cua
bien thiet ke
claer
clear
Main4
Parameter
figure;plot(x2dot)
Main4
Parameter
figure;plot(x2dot)
ks0*0.2
cs0*0.2
v*0.2
v0*0.2
clear
Lb = [-2700 -2700 -2700 -2700 -2700,-250 -250 -250 -250 -250,-18 -18 -18 -18 -18]; % can duoi cua bien thiet ke
Ub = [2700 2700 2700 2700 2700,250 250 250 250 250,18 18 18 18 18]; % can tren cua bien thiet ke
Main4_2
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
a=a_v;b=b_v;
Plot_membership_function
clear
clc
Main4_3
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(om)
figure;plot(x2dot)
figure;plot(es_f)
figure;plot(es_g1)
figure;plot(uc)
figure;plot(us)
figure;plot(x2dot)
Main4_3
Parameter
om0 = 100;
k0 = 100;
a1 = 1000;
a2 = 100;
l2 = 1000;
figure;plot(x2dot)
figure;plot(om0)
figure;plot(om)
figure;plot(om0)
figure;plot(x2dot)
figure;plot(om)
Main4_3
om0
figure;plot(x2dot)
figure;plot(es_f)
figure;plot(es_g1)
figure;plot(om)
figure;plot(u)
figure;plot(us)
figure;plot(uc)
figure;plot(es_g1.time,es_g1.data+eps)
figure;plot(S)
figure;plot(S.time,S.data/PHI)
om0*k0
figure;plot(rho_ad)
figure;plot(u)
figure;plot(us)
figure;plot(es_d)
figure;plot(es_ms)
Main4_3
a1
a2
om0
k0
l2
MATLAB Command History Page 55
May 7, 2019 3:46:17 PM
alfa
a1
a2
om0
k0
l2
Main4_3
a1
a2
om0
k0
l2
figure;plot(x2dot)
Main4_3
a1
a2
om0
k0
l2
Parameter
figure;plot(x2dot)
figure;plot(rho_ad)
figure;plot(om)
figure;plot(us)
figure;plot(x1)
figure;plot(x2)
figure;plot(x2-zr_dot)
figure;plot(es_g1)
k0*om0
figure;plot(S)
figure;plot(x2dot)
figure;plot(rho_ad)
figure;plot(om)
figure;plot(f)
figure;plot(us)
%-- 02/03/2019 9:52 AM --%
Parameter
figure;plot(om)
om0
figure;plot(om)
figure;plot(x2dot)
figure;plot(zr)
Main4_3
om0
k0
figure;plot(om)
om0
figure;plot(x2dot)
figure;plot(u)
figure;plot(us)
figure;plot(uc)
figure;plot(S)
figure;plot(es_g1)
figure;plot(es_f)
figure;plot(rho_ad)
a11
a1
a2
om0
k0
l2
Main4_3
a1
a2
om0
k0
l2
Main4_3
o_ad
figure;plot(rho_ad)
figure;plot(om)
figure;plot(es_f)
figure;plot(es_g1)
figure;plot(us)
figure;plot(x2dot)
Main4_3
figure;plot(x2dot)
figure;plot(om)
figure;plot(rho_ad)
figure;plot(es_g1)
figure;plot(es_f)
figure;plot(S)
figure;plot(us)
figure;plot(S)
figure;plot(S.time,S.data.*us.data)
Main4_3
figure;plot(S.time,S.data.*us.data)
a1
a2
Main4_3
Parameter
figure;plot(x2dot)
figure;plot(om)
figure;plot(rho_ad)
figure;plot(S)
figure;plot(es_g1)
figure;plot(es_ms)
figure;plot(es_ms.time,es_ms.data+ms0)
figure;plot(es_ms)
Parameter
figure;plot(es_ms)
figure;plot(x2dot)
figure;plot(rho_ad)
om0
k0
S
Parameter
figure;plot(rho_ad)
figure;plot(x2dot)
Main4_3
Parameter
figure;plot(x2dot)
figure;plot(rho_ad)
var(x2dot.data)
Main4_3
á
a1
a2
om0
k0
l2
alfa
figure;plot(rho_ad)
MATLAB Command History Page 56
May 7, 2019 3:46:17 PM
figure;plot(om)
figure;plot(x2dot)
figure;plot(us)
figure;plot(uc)
figure;plot(es_f)
figure;plot(es_g1)
figure;plot(es_ms)
ms0*0.2
Main4_3
%-- 04/03/2019 10:19 AM --%
Parameter
figure;plot(x2dot)
Parameter
%-- 04/03/2019 11:07 AM --%
Parameter
b_cs
b=b_cs
b(1)
b(2)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(rho_ad)
figure;plot(om)
figure;plot(es_f)
figure;plot(es_g1)
Parameter
figure;plot(x2dot)
figure;plot(es_g1)
figure;plot(es_ms)
figure;plot(es_f)
figure;plot(om)
figure;plot(rho_ad)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(om)
figure;plot(rho_ad)
Main4_3
figure;plot(x2dot)
figure;plot(x1)
figure;plot(x2)
figure;plot(rho_ad)
figure;plot(S)
figure;plot(us)
figure;plot(om)
figure;plot(es_f)
figure;plot(es_g1)
figure;plot(es_ms)
figure;plot(x2dot)
figure;plot(om)
figure;plot(x2dot)
figure;plot(om)
Main4_3
figure;plot(om)
figure;plot(S)
figure;plot(us)
figure;plot(x2dot)
dot
figure;plot(es_ms)
figure;plot(es_d)
figure;plot(es_g1)
figure;plot(es_f)
figure;plot(rho_ad)
set_param('test','AlgebraicLoopSolver','LineSearch')
in = Simulink.SimulationInput('test');
in = in.setVariable('alfa',x(1));
in = in.setVariable('a1',x(2));
in = in.setVariable('a2',x(3));
in = in.setVariable('om0',x(4));
in = in.setVariable('k0',x(5));
in = in.setVariable('l2',x(6));
in = in.setVariable('a_ks',a_ks);
in = in.setVariable('a_cs',a_cs);
in = in.setVariable('a_v',a_v);
in = in.setVariable('b_ks',b_ks);
in = in.setVariable('b_cs',b_cs);
in = in.setVariable('b_v',b_v);
in.applyToModel
result = sim(in);
fpenal = max(abs(result.x2dot.data));
Main4_3
%-- 04/03/2019 3:28 PM --%
Main4_3
%-- 04/03/2019 5:58 PM --%
Para
%-- 05/03/2019 8:09 AM --%
t
p
P
x
figure;plot(x(:,1))
figure;plot(x(:,2))
figure;plot(x(:,10))
figure;plot(x(:,6))
figure;plot(x(:,7))
figure;plot(x(:,12))
figure;plot(tol(:,1))
figure;plot(tol1(:,1))
MISO_Para
Parameter
Main4_3
figure;plot(x2dot)
Main4_3
Parameter
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x2dot)
figure;plot(zr)
Parameter
figure;plot(zr)
figure;plot(x2dot)
figure;plot(rho_ad)
figure;plot(om)
figure;plot(es_g1)
figure;plot(es_f)
figure;plot(us)
figure;plot(S)
figure;plot(uc)
MATLAB Command History Page 57
May 7, 2019 3:46:17 PM
figure;plot(es_ms)
figure;plot(v)
figure;plot(vt)
figure;plot(x2dot)
% Define om0 based on maximum value of om as follow
f = 1/(ms0)*(ks0*(x1.data-zr.data)+cs0*(x2.data-zr_dot.data)); %vector
g1 = -1/ms0; %constant
om = f - es_f.data + (g1 - es_g1.data).*us.data
figure;plot(om)
Main4_3
Parameter
figure;plot(x2dot)
var(x2dot.data)
max(x2dot.data)
max(x2dot.data)*var(x2dot.data)
Main4_3
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(us)
Parameter
figure;plot(us)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
correcoef(x2dot.data)
corrcoef(x2dot.data)
cov(x2dot.data)
var(x2dot.data)
std(x2dot.data)
max(abs(x2dot.data))
max((x2dot.data))
max(abs(x2dot.data))*var(x2dot.data)*mean(x2dot.data)*std(x2dot.data)
var(x2dot.data)
mean(x2dot.data
mean(x2dot.data)
mean(abs(x2dot.data))
std(x2dot.data)
Main4_3
Parameter
figure;plot(x2dot)
%-- 06/03/2019 12:31 PM --%
MISO_Para
x1 = 3;x2= 1;
A = zeros(length(a),1);
B = zeros(length(b),1);
for i = 1:length(a)
% A is colum matrix [i x 1]
A(i,1) = trimf(x1,[a(i,1),a(i,2),a(i,3)]);
end
for j = 1:length(b)
% B is colum matrix [j x 1]
B(j,1) = trimf(x2,[b(j,1),b(j,2),b(j,3)]);
end
out_membership = min(A,B)
a
A
B
out_membership = A*B'
x2 = 4
A = zeros(length(a),1);
B = zeros(length(b),1);
for i = 1:length(a)
% A is colum matrix [i x 1]
A(i,1) = trimf(x1,[a(i,1),a(i,2),a(i,3)]);
end
for j = 1:length(b)
% B is colum matrix [j x 1]
B(j,1) = trimf(x2,[b(j,1),b(j,2),b(j,3)]);
end
A
B
out_membership = A*B'
count = 1;
temp = zeros(length(a)*length(b),1);
for i = 1:length(a)
for j = 1:length(b)
temp(count,1) = c(fuzzylaw(i,j))*out_membership(i,j);
end
end
y = sum(temp)/sum(sum(out_membership))
temp
sum(out_membership)
sum(sum(out_membership))
out_membership = min(A,B)
c.*out_membership
c
c*out_membership
sum(out_menbership)
sum(out_membership)
y = c*out_membership/sum(out_membership);
y = c*out_membership/sum(out_membership)
out_membership = zeros(
out_membership = zeros(i*j,1)
count = 1;
out_membership = zeros(i*j,1);
temp = zeros(length(a)*length(b),1);
for i = 1:length(a)
for j = 1:length(b)
out_membership(count,1) = min(A(i)*B(j));
temp(count,1) = c(fuzzylaw(i,j))*out_membership(i,j);
end
end
count = 1;
out_membership = zeros(i*j,1);
temp = zeros(length(a)*length(b),1);
for i = 1:length(a)
for j = 1:length(b)
out_membership(count,1) = min(A(i)*B(j));
temp(count,1) = c(fuzzylaw(i,j)).*out_membership(i,j);
end
end
for i = 1:length(a)
for j = 1:length(b)
out_membership(count,1) = min(A(i)*B(j));
end
end
out_membership
for i = 1:length(a)
for j = 1:length(b)
MATLAB Command History Page 58
May 7, 2019 3:46:17 PM
out_membership(count,1) = min(A(i)*B(j));
count = count+1;
end
end
out_membership
for i = 1:length(a)
for j = 1:length(b)
out_membership(count,1) = min(A(i)*B(j));
temp(count,1) = c(fuzzylaw(i,j)).*out_membership(i,j);
count = count+1;
end
end
for i = 1:length(a)
for j = 1:length(b)
out_membership(count,1) = min(A(i)*B(j));
temp(count,1) = c(fuzzylaw(i,j))*out_membership(i,j);
count = count+1;
end
end
for i = 1:length(a)
for j = 1:length(b)
out_membership(count,1) = min(A(i)*B(j));
temp(count,1) = c(fuzzylaw(i,j))
end
end
temp
count = 1;
out_membership = zeros(i*j,1);
temp = zeros(length(a)*length(b),1);
for i = 1:length(a)
for j = 1:length(b)
out_membership(count,1) = min(A(i)*B(j));
temp(count,1) = c(fuzzylaw(i,j))
count = count+1;
end
end
count = 1;
out_membership = zeros(i*j,1);
temp = zeros(length(a)*length(b),1);
for i = 1:length(a)
for j = 1:length(b)
out_membership(count,1) = min(A(i)*B(j));
temp(count,1) = c(fuzzylaw(i,j)).*out_membership(i,j);
count = count+1;
end
end
count = 1;
out_membership = zeros(i*j,1);
temp = zeros(length(a)*length(b),1);
for i = 1:length(a)
for j = 1:length(b)
out_membership(count,1) = min(A(i)*B(j));
temp(count,1) = c(fuzzylaw(i,j))*out_membership(i,j);
count = count+1;
end
end
count = 1;
out_membership = zeros(i*j,1);
temp = zeros(length(a)*length(b),1);
for i = 1:length(a)
for j = 1:length(b)
out_membership(count,1) = min(A(i)*B(j));
temp(count,1) = c(fuzzylaw(i,j))*out_membership(count,1);
count = count+1;
end
end
sum(temp)
y
sum(out_membership)
y = sum(temp)/sum(out_membership);
y = sum(temp)/sum(out_membership)
clear
clc
MISO_Para
x1 = 3;x2 = 4
A = zeros(length(a),1);
B = zeros(length(b),1);
for i = 1:length(a)
% A is colum matrix [i x 1]
A(i,1) = trimf(x1,[a(i,1),a(i,2),a(i,3)]);
end
for j = 1:length(b)
% B is colum matrix [j x 1]
B(j,1) = trimf(x2,[b(j,1),b(j,2),b(j,3)]);
end
% out_membership is matrix [i x j]
% out_membership = A*B';
% count = 1;
% temp = zeros(length(a)*length(b),1);
% for i = 1:length(a)
% for j = 1:length(b)
% temp(count,1) = c(fuzzylaw(i,j))*out_membership(i,j);
% end
% end
% y = sum(temp)/sum(sum(out_membership));
% out_membership is matrix [i x j]
count = 1;
out_membership = zeros(i*j,1);
temp = zeros(length(a)*length(b),1);
for i = 1:length(a)
for j = 1:length(b)
out_membership(count,1) = min(A(i)*B(j));
temp(count,1) = c(fuzzylaw(i,j))*out_membership(count,1);
count = count+1;
end
end
y = sum(temp)/sum(out_membership);
y
clear
clc
MISO_Para
c(1,1)
c(2,1)
c(1,2)
figure;plot(result)
MISO_Para
A=[];
for i = 1:length(x)
A(1,i) = trapmf(x(i),[-10,a(1,1),a(1,2),a(1,3)]);
A(2,i) = trimf(x(i),[a(2,1),a(2,2),a(2,3)]);
A(3,i) = trimf(x(i),[a(3,1),a(3,2),a(3,3)]);
A(4,i) = trimf(x(i),[a(4,1),a(4,2),a(4,3)]);
A(5,i) = trapmf(x(i),[a(5,1),a(5,2),a(5,3),30]);
MATLAB Command History Page 59
May 7, 2019 3:46:17 PM
% A(5,i) = trapmf(x(i),[a(5,1),a(5,2),a(5,3),10]);
end
figure;
subplot(2,1,1);
plot(x,A(1,:),x,A(2,:),x,A(3,:),x,A(4,:),x,A(5,:),'LineWidth',2);
hold on
legend 'A1' 'A2' 'A3' 'A4' 'A5'
x = 0:0.001:20;
A=[];
for i = 1:length(x)
A(1,i) = trapmf(x(i),[-10,a(1,1),a(1,2),a(1,3)]);
A(2,i) = trimf(x(i),[a(2,1),a(2,2),a(2,3)]);
A(3,i) = trimf(x(i),[a(3,1),a(3,2),a(3,3)]);
A(4,i) = trimf(x(i),[a(4,1),a(4,2),a(4,3)]);
A(5,i) = trapmf(x(i),[a(5,1),a(5,2),a(5,3),30]);
% A(5,i) = trapmf(x(i),[a(5,1),a(5,2),a(5,3),10]);
end
figure;
subplot(2,1,1);
plot(x,A(1,:),x,A(2,:),x,A(3,:),x,A(4,:),x,A(5,:),'LineWidth',2);
b=c
%% Output
y = -10:0.001:10;
subplot(2,1,2);
hold on
line([b(1) b(1)],[0 1],'color',[0 0 1],'LineWidth',3);
line([b(2) b(2)],[0 1],'color',[1 0 0],'LineWidth',3);
line([b(3) b(3)],[0 1],'color',[1 1 0],'LineWidth',3);
line([b(4) b(4)],[0 1],'color',[1 0 1],'LineWidth',3);
line([b(5) b(5)],[0 1],'color',[0 1 0],'LineWidth',3);
legend 'B1' 'B2' 'B3' 'B4' 'B5'
hold off
clear
clc
MISO_Para
%-- 07/03/2019 8:57 PM --%
load('luu_test5_road5.mat')
alfa = xval(1);
a1 = xval(2);
a2 = xval(3);
om0 = xval(4);
k0 = xval(5);
l2 = xval(6);
a_ks = sort(vec2mat(xval(7:21),3),2);
a_cs = sort(vec2mat(xval(22:36),3),2);
a_v = sort(vec2mat(xval(37:51),3),2);
b_ks = sort(xval(52:56));
b_cs = sort(xval(57:61));
b_v = sort(xval(62:66));
Parameter
load('luu_test4_road5.mat')
alfa = xval(1);
a1 = xval(2);
a2 = xval(3);
om0 = xval(4);
k0 = xval(5);
l2 = xval(6);
a_ks = sort(vec2mat(xval(7:21),3),2);
a_cs = sort(vec2mat(xval(22:36),3),2);
a_v = sort(vec2mat(xval(37:51),3),2);
b_ks = sort(xval(52:56));
b_cs = sort(xval(57:61));
b_v = sort(xval(62:66));
figure;plot(x2dot)
%-- 08/03/2019 8:06 AM --%
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
%-- 09/03/2019 3:32 PM --%
asin(1)
sin(1)
sin(6)
sin(1)+sin(6)
ans/2
sin(2.61799)
sinh(90)
sin(90)
%-- 11/03/2019 12:03 PM --%
Parameter
load('luu_test4_road5.mat')
alfa = xval(1);
a1 = xval(2);
a2 = xval(3);
om0 = xval(4);
k0 = xval(5);
l2 = xval(6);
a_ks = sort(vec2mat(xval(7:21),3),2);
a_cs = sort(vec2mat(xval(22:36),3),2);
a_v = sort(vec2mat(xval(37:51),3),2);
b_ks = sort(xval(52:56));
b_cs = sort(xval(57:61));
b_v = sort(xval(62:66));
Parameter
load('luu_test4_road5.mat')
alfa = xval(1);
a1 = xval(2);
a2 = xval(3);
om0 = xval(4);
k0 = xval(5);
l2 = xval(6);
a_ks = sort(vec2mat(xval(7:21),3),2);
a_cs = sort(vec2mat(xval(22:36),3),2);
a_v = sort(vec2mat(xval(37:51),3),2);
b_ks = sort(xval(52:56));
MATLAB Command History Page 60
May 7, 2019 3:46:17 PM
b_cs = sort(xval(57:61));
b_v = sort(xval(62:66));
figure;plot(x2dot)
clear all;
%%
% d(t) la ma tran [1,1]
%% Quarter car suspension parameters
ms0 = 350;
ks0 = 13500;
cs0 = 1250;
ms = 390;%11600; % chassis mass (kg)
ks1 = 14500;%6050000; % (N/m)
ks2 = 160000; % (N/m^3)
cs1 = 1385;%53900;%+10000; % (Ns/m)
cs2 = 524; % (Ns^2/m^2)
deltaT = 1; % Simulation time step
%% Road track parameters
v0 = 10; % Car velocity (m/s)
%% Controller's parameters
% ========================================================================
%--- test 1: Non fuzzy, Non DO, Non adaptive ---
% alfa = 0.8;
% PHI = 1;
% eps = 0.00001;
% a1 = 7.986;
% a2 = 1;
% rho = 1;
% ========================================================================
%--- test 2: Non fuzzy, Non DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.860319003332432;%0.8;
% PHI = 1;
% eps = 0.00001;
% a1 = 7.29671443237562;%17.986; %[1:1000]
% a2 = 31.0910725400231;%1.5; %[1:100]
% om0 = 1.00877010240269;%50; %[1:100]
% k0 = 1.00737100496601;%8; %[1:100]
% ========================================================================
%--- test 3: Non fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.903939427492506;%0.8;
% PHI = 1;
% eps = 0.00001;
% a1 = 99.9999064998740;%1000; %[1:1000]
% a2 = 5.79880041558778;%100; %[1:100]
% om0 = 17.2650956350313;%100; %[1:100]
% k0 = 10.3014247024466;%100; %[1:100]
% l2 = 999.976462438817;%1000; %[1:1000]
% ========================================================================
%--- test 4_2: fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.861122351620850;
% PHI = 1;
% eps = 0.00001;
% a1 = 17.8051334428289; %[1:1000]
% a2 = 4.15358762147605; %[1:100]
% om0 = 39.3843577627403; %[1:100]
% k0 = 86.8262524222660; %[1:100]
% l2 = 702.476609911729; %[1:1000]
% a_ks = [-0.961333833670403,-0.899330803307806,-0.203641573649615;-0.714587210318562,-0.603776949561476,-0.0519421171400566;-0.569401535919983,-0.154732666542345,0.460515085255760;
-0.0369634433082456,0.511765121542169,0.920910287034163;0.496740417632112,0.805139098955115,0.967740436059881];
% a_cs = [-0.964478709339200,-0.703798450742280,-0.202268870219115;-0.846373670477416,-0.439204115799397,-0.134488848135273;-0.434917577984332,0.298947008155214,0.709230916791695;
0.0364888173167297,0.589560571026918,0.909128421524052;0.307327526029337,0.730196130188434,0.947516426147854];
% a_v = [0.328785173988373,2.39593998531366,8.88322805855561;2.48709144872506,5.12061363616383,11.6815068561810;0.614371040457829,9.70927511772269,15.0725582269162;
8.39850167206166,14.4186070019695,19.9958790809412;15.3373277074801,18.5401718582444,19.4919540118303];
% b_ks = [1.140838867648064e+03,1.563325184283469e+03,1.758974301114079e+03,1.924089934055805e+03,2.051296327176498e+03];
% b_cs = [-2.498011749318166e+02,-2.211457657563566e+02,-2.200934113180452e+02,-1.331636142939386e+02,35.590617737909355];
% b_v = [-14.033809303187045,-12.805152377743184,-4.217941212324154,3.362846124008737,10.451969690448408];
%--- test 4_3: fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.874416474647554;
% PHI = 1;
% eps = 0.00001;
% a1 = 28.1392941024985; %[1:1000]
% a2 = 10.7845176650621; %[1:100]
% om0 = 34.5676695821628; %[1:100]
% k0 = 54.1569841534051; %[1:100]
% l2 = 258.860891174173; %[1:1000]
% a_ks = [-0.909321819546334,-0.869712774181164,-0.179843630817213;-0.963285089514859,-0.356840041586254,-0.140732467996760;-0.436434511599391,-0.245511314626646,0.883452262287000;
-0.0630940718442964,0.402226661030769,0.914753087428342;0.409725350210209,0.774503174777497,0.942170626061155];
% a_cs = [-0.976945336186364,-0.797201708837825,-0.427421164318919;-0.774172643681359,-0.416686598076169,0.0346770342368840;-0.932904329295419,-0.331287397930847,0.487727937403140;
-0.0785075701520996,0.345441808596640,0.859897892632272;0.121013412059236,0.867147411357205,0.954525074131468];
% a_v = [0.188652933368498,2.88981447130858,7.31480834791171;0.501036698544254,4.89195413361812,15.8132956435916;2.49033011205642,10.1025078277259,16.3137115355969;
4.05292187550237,16.7215215705902,19.4229006842103;12.6875289657005,16.8927853070839,19.1682094196034];
% b_ks = [-2.620557275934223e+03,-1.265516610039276e+03,-1.423774897699486e+02,-10.156385214324473,8.479207791864951e+02];
% b_cs = [-2.443365882555417e+02,-1.664782162098575e+02,-9.825496107831356,65.567947526495000,1.794194044619588e+02];
% b_v = [-15.465113855193097,-13.151186792520216,-1.698982456219930,-0.093164606124731,5.304098059099491];
% %--- test 5:(1) fuzzy, DO, adaptive, rho_ad(t)---
% alfa = 0.942574137392154;
% PHI = 1;
% eps = 0.00001;
% a1 = 3.91996797753072; %[1:1000]
% a2 = 2.07976755703195; %[1:100]
% om0 = 269.403735195640; %[-350:350]
% k0 = 11.9560677334591; %[1:100]
% l2 = 868.234961755542; %[1:1000]
% a_ks = [-0.913896567489805,-0.810261969390445,-0.422672700921023;-0.773928252931969,-0.361619465367881,-0.177879139876683;-0.777924122264101,-0.382036228803866,0.905615805916168;
0.229524107564833,0.394946567682202,0.935038850388764;0.535072020144214,0.899747236052216,0.931111451425247];
% a_cs = [-0.909039044387363,-0.778873713173897,-0.374680973382311;-0.760482140097871,-0.586185865079997,-0.0465314259503577;-0.410535020852223,0.0498287545782999,0.934688746187930;
0.155095405571576,0.385341428516406,0.934664179179562;0.117689703735145,0.667028409753918,0.940737855689643];
% a_v = [0.824075546020548,3.73508436481782,6.27810925892297;1.14963865009847,3.42813258034903,8.38975258642237;3.08156413016454,6.63650613917525,19.8924901900451;
1.79328024770914,13.9678825020215,18.8788586306687;14.3602763361050,17.7385926821352,19.6866696052026];
% b_ks = [-2482.18727930770,-330.541066005408,-30.9931483953687,673.226926671120,1905.86759814742];
% b_cs = [-44.9508103700981,-17.3321828723973,108.023607165193,159.196550053602,226.955684544160];
% b_v = [-58.6034163000970,-31.2329243772538,-26.2963224707570,-13.7005777939359,31.8883778369306];
% %--- test 5:(2) fuzzy, DO, adaptive, rho_ad(t)---
% alfa = 0.911290258514504;
% PHI = 1;
% eps = 0.00001;
% a1 = 98.2994054387935; %[1:1000]
% a2 = 11.3912445955835; %[1:100]
% om0 = 20.5275741273146; %[-350:350]
% k0 = 3.19385799404128; %[1:100]
% l2 = 805.084697669284; %[1:1000]
% a_ks = [-0.964038271779661,-0.855844820367769,-0.415537291557998;-0.891474497543546,-0.621430133831117,0.0881202697497049;-0.972494304869310,-0.217852023178333,0.998832783357451;
0.116578364465014,0.328557580399482,0.831364101503458;0.474756956627304,0.601391455436352,0.932299643657357];
% a_cs = [-0.909511678355089,-0.600513264289541,-0.445343438415142;-0.850326484222123,-0.503422326195107,-0.291304200513736;-0.736258329552357,-0.255254817745895,0.451692033224452;
-0.0956200255046951,0.363755454218394,0.849243514112580;0.297010159366567,0.792522924020751,0.903705173253031];
% a_v = [0.632847496138695,3.61059363850071,6.28533294401274;1.23275288785036,3.38829399900567,19.5649921530789;2.54682991322493,9.28488382960306,16.1065354886895;
7.89217790266828,15.7709379541951,19.1531283049365;13.2464924314403,17.7920132135942,19.0343755650281];
% b_ks = [4.96167629922263,185.064046718791,224.983590533434,695.599202326821,2686.27334159526];
% b_cs = [-197.971778417411,-192.568497464081,-140.043901446571,2.96818613448369,66.9466707482322];
% b_v = [-17.0203356084492,-1.67641449915854,23.9632623822596,33.0180510680314,67.9717136468936];
% %--- test 5:(3) fuzzy, DO, adaptive, rho_ad(t)---
alfa = 0.840080220875599;
PHI = 1;
eps = 0.00001;
MATLAB Command History Page 61
May 7, 2019 3:46:17 PM
a1 = 87.1790710662921; %[1:1000]
a2 = 30.0127706062212; %[1:100]
om0 = 195.199856762208; %[-350:350]
k0 = 52.7149231640241; %[1:100]
l2 = 780.699568393096; %[1:1000]
a_ks = [-0.977665462942268,-0.654124870074655,-0.285599845505562;-0.913084740140048,-0.344841670908060,0.0110471596190468;-0.648776064473591,0.0754787651336873,0.897007627740067;
0.284047512694711,0.387735765871282,0.868558466823592;0.341778591647107,0.633706406712160,0.967128256684583];
a_cs = [-0.949778142906489,-0.815226158835317,-0.582720878650164;-0.997639713461401,-0.621381356386667,-0.234828555679164;-0.926037292139055,-0.395108955280334,0.901085640078752;
0.286530004912562,0.418054153824551,0.805139949350492;0.365399520697793,0.868149960571999,0.978444825113538];
a_v = [0.304883668339941,2.97014150581628,7.07493872181743;2.13594687640650,5.05667853266149,18.2172175712776;0.401730290445440,8.00185752023321,16.5745888097509;
3.50577189542485,13.0877332537229,19.8593849944045;13.4033854531989,18.8873199096827,19.3813157386389];
b_ks = [-2695.39092675439,-939.672531746312,961.515588821945,2210.29756706539,2467.48473866833];
b_cs = [-201.954714688118,-50.8492667369703,53.6278586055087,194.457163986525,249.521721113368];
b_v = [-60.9794122220985,-12.2605886638138,40.3320551469500,58.5557398820459,60.9600792388574];
load('luu_test5_road5.mat')
alfa = xval(1);
a1 = xval(2);
a2 = xval(3);
om0 = xval(4);
k0 = xval(5);
l2 = xval(6);
a_ks = sort(vec2mat(xval(7:21),3),2);
a_cs = sort(vec2mat(xval(22:36),3),2);
a_v = sort(vec2mat(xval(37:51),3),2);
b_ks = sort(xval(52:56));
b_cs = sort(xval(57:61));
b_v = sort(xval(62:66));
figure;plot(x2dot)
clear all;
%%
% d(t) la ma tran [1,1]
%% Quarter car suspension parameters
ms0 = 350;
ks0 = 13500;
cs0 = 1250;
ms = 390;%11600; % chassis mass (kg)
ks1 = 14500;%6050000; % (N/m)
ks2 = 160000; % (N/m^3)
cs1 = 1385;%53900;%+10000; % (Ns/m)
cs2 = 524; % (Ns^2/m^2)
deltaT = 1; % Simulation time step
%% Road track parameters
v0 = 10; % Car velocity (m/s)
%% Controller's parameters
% ========================================================================
%--- test 1: Non fuzzy, Non DO, Non adaptive ---
% alfa = 0.8;
% PHI = 1;
% eps = 0.00001;
% a1 = 7.986;
% a2 = 1;
% rho = 1;
% ========================================================================
%--- test 2: Non fuzzy, Non DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.860319003332432;%0.8;
% PHI = 1;
% eps = 0.00001;
% a1 = 7.29671443237562;%17.986; %[1:1000]
% a2 = 31.0910725400231;%1.5; %[1:100]
% om0 = 1.00877010240269;%50; %[1:100]
% k0 = 1.00737100496601;%8; %[1:100]
% ========================================================================
%--- test 3: Non fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.903939427492506;%0.8;
% PHI = 1;
% eps = 0.00001;
% a1 = 99.9999064998740;%1000; %[1:1000]
% a2 = 5.79880041558778;%100; %[1:100]
% om0 = 17.2650956350313;%100; %[1:100]
% k0 = 10.3014247024466;%100; %[1:100]
% l2 = 999.976462438817;%1000; %[1:1000]
% ========================================================================
%--- test 4_2: fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.861122351620850;
% PHI = 1;
% eps = 0.00001;
% a1 = 17.8051334428289; %[1:1000]
% a2 = 4.15358762147605; %[1:100]
% om0 = 39.3843577627403; %[1:100]
% k0 = 86.8262524222660; %[1:100]
% l2 = 702.476609911729; %[1:1000]
% a_ks = [-0.961333833670403,-0.899330803307806,-0.203641573649615;-0.714587210318562,-0.603776949561476,-0.0519421171400566;-0.569401535919983,-0.154732666542345,0.460515085255760;
-0.0369634433082456,0.511765121542169,0.920910287034163;0.496740417632112,0.805139098955115,0.967740436059881];
% a_cs = [-0.964478709339200,-0.703798450742280,-0.202268870219115;-0.846373670477416,-0.439204115799397,-0.134488848135273;-0.434917577984332,0.298947008155214,0.709230916791695;
0.0364888173167297,0.589560571026918,0.909128421524052;0.307327526029337,0.730196130188434,0.947516426147854];
% a_v = [0.328785173988373,2.39593998531366,8.88322805855561;2.48709144872506,5.12061363616383,11.6815068561810;0.614371040457829,9.70927511772269,15.0725582269162;
8.39850167206166,14.4186070019695,19.9958790809412;15.3373277074801,18.5401718582444,19.4919540118303];
% b_ks = [1.140838867648064e+03,1.563325184283469e+03,1.758974301114079e+03,1.924089934055805e+03,2.051296327176498e+03];
% b_cs = [-2.498011749318166e+02,-2.211457657563566e+02,-2.200934113180452e+02,-1.331636142939386e+02,35.590617737909355];
% b_v = [-14.033809303187045,-12.805152377743184,-4.217941212324154,3.362846124008737,10.451969690448408];
%--- test 4_3: fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.874416474647554;
% PHI = 1;
% eps = 0.00001;
% a1 = 28.1392941024985; %[1:1000]
% a2 = 10.7845176650621; %[1:100]
% om0 = 34.5676695821628; %[1:100]
% k0 = 54.1569841534051; %[1:100]
% l2 = 258.860891174173; %[1:1000]
% a_ks = [-0.909321819546334,-0.869712774181164,-0.179843630817213;-0.963285089514859,-0.356840041586254,-0.140732467996760;-0.436434511599391,-0.245511314626646,0.883452262287000;
-0.0630940718442964,0.402226661030769,0.914753087428342;0.409725350210209,0.774503174777497,0.942170626061155];
% a_cs = [-0.976945336186364,-0.797201708837825,-0.427421164318919;-0.774172643681359,-0.416686598076169,0.0346770342368840;-0.932904329295419,-0.331287397930847,0.487727937403140;
-0.0785075701520996,0.345441808596640,0.859897892632272;0.121013412059236,0.867147411357205,0.954525074131468];
% a_v = [0.188652933368498,2.88981447130858,7.31480834791171;0.501036698544254,4.89195413361812,15.8132956435916;2.49033011205642,10.1025078277259,16.3137115355969;
4.05292187550237,16.7215215705902,19.4229006842103;12.6875289657005,16.8927853070839,19.1682094196034];
% b_ks = [-2.620557275934223e+03,-1.265516610039276e+03,-1.423774897699486e+02,-10.156385214324473,8.479207791864951e+02];
% b_cs = [-2.443365882555417e+02,-1.664782162098575e+02,-9.825496107831356,65.567947526495000,1.794194044619588e+02];
% b_v = [-15.465113855193097,-13.151186792520216,-1.698982456219930,-0.093164606124731,5.304098059099491];
% %--- test 5:(1) fuzzy, DO, adaptive, rho_ad(t)---
% alfa = 0.942574137392154;
% PHI = 1;
% eps = 0.00001;
% a1 = 3.91996797753072; %[1:1000]
% a2 = 2.07976755703195; %[1:100]
% om0 = 269.403735195640; %[-350:350]
% k0 = 11.9560677334591; %[1:100]
% l2 = 868.234961755542; %[1:1000]
% a_ks = [-0.913896567489805,-0.810261969390445,-0.422672700921023;-0.773928252931969,-0.361619465367881,-0.177879139876683;-0.777924122264101,-0.382036228803866,0.905615805916168;
0.229524107564833,0.394946567682202,0.935038850388764;0.535072020144214,0.899747236052216,0.931111451425247];
% a_cs = [-0.909039044387363,-0.778873713173897,-0.374680973382311;-0.760482140097871,-0.586185865079997,-0.0465314259503577;-0.410535020852223,0.0498287545782999,0.934688746187930;
0.155095405571576,0.385341428516406,0.934664179179562;0.117689703735145,0.667028409753918,0.940737855689643];
% a_v = [0.824075546020548,3.73508436481782,6.27810925892297;1.14963865009847,3.42813258034903,8.38975258642237;3.08156413016454,6.63650613917525,19.8924901900451;
1.79328024770914,13.9678825020215,18.8788586306687;14.3602763361050,17.7385926821352,19.6866696052026];
MATLAB Command History Page 62
May 7, 2019 3:46:17 PM
% b_ks = [-2482.18727930770,-330.541066005408,-30.9931483953687,673.226926671120,1905.86759814742];
% b_cs = [-44.9508103700981,-17.3321828723973,108.023607165193,159.196550053602,226.955684544160];
% b_v = [-58.6034163000970,-31.2329243772538,-26.2963224707570,-13.7005777939359,31.8883778369306];
% %--- test 5:(2) fuzzy, DO, adaptive, rho_ad(t)---
% alfa = 0.911290258514504;
% PHI = 1;
% eps = 0.00001;
% a1 = 98.2994054387935; %[1:1000]
% a2 = 11.3912445955835; %[1:100]
% om0 = 20.5275741273146; %[-350:350]
% k0 = 3.19385799404128; %[1:100]
% l2 = 805.084697669284; %[1:1000]
% a_ks = [-0.964038271779661,-0.855844820367769,-0.415537291557998;-0.891474497543546,-0.621430133831117,0.0881202697497049;-0.972494304869310,-0.217852023178333,0.998832783357451;
0.116578364465014,0.328557580399482,0.831364101503458;0.474756956627304,0.601391455436352,0.932299643657357];
% a_cs = [-0.909511678355089,-0.600513264289541,-0.445343438415142;-0.850326484222123,-0.503422326195107,-0.291304200513736;-0.736258329552357,-0.255254817745895,0.451692033224452;
-0.0956200255046951,0.363755454218394,0.849243514112580;0.297010159366567,0.792522924020751,0.903705173253031];
% a_v = [0.632847496138695,3.61059363850071,6.28533294401274;1.23275288785036,3.38829399900567,19.5649921530789;2.54682991322493,9.28488382960306,16.1065354886895;
7.89217790266828,15.7709379541951,19.1531283049365;13.2464924314403,17.7920132135942,19.0343755650281];
% b_ks = [4.96167629922263,185.064046718791,224.983590533434,695.599202326821,2686.27334159526];
% b_cs = [-197.971778417411,-192.568497464081,-140.043901446571,2.96818613448369,66.9466707482322];
% b_v = [-17.0203356084492,-1.67641449915854,23.9632623822596,33.0180510680314,67.9717136468936];
% %--- test 5:(3) fuzzy, DO, adaptive, rho_ad(t)---
alfa = 0.840080220875599;
PHI = 1;
eps = 0.00001;
a1 = 87.1790710662921; %[1:1000]
a2 = 30.0127706062212; %[1:100]
om0 = 195.199856762208; %[-350:350]
k0 = 52.7149231640241; %[1:100]
l2 = 780.699568393096; %[1:1000]
a_ks = [-0.977665462942268,-0.654124870074655,-0.285599845505562;-0.913084740140048,-0.344841670908060,0.0110471596190468;-0.648776064473591,0.0754787651336873,0.897007627740067;
0.284047512694711,0.387735765871282,0.868558466823592;0.341778591647107,0.633706406712160,0.967128256684583];
a_cs = [-0.949778142906489,-0.815226158835317,-0.582720878650164;-0.997639713461401,-0.621381356386667,-0.234828555679164;-0.926037292139055,-0.395108955280334,0.901085640078752;
0.286530004912562,0.418054153824551,0.805139949350492;0.365399520697793,0.868149960571999,0.978444825113538];
a_v = [0.304883668339941,2.97014150581628,7.07493872181743;2.13594687640650,5.05667853266149,18.2172175712776;0.401730290445440,8.00185752023321,16.5745888097509;
3.50577189542485,13.0877332537229,19.8593849944045;13.4033854531989,18.8873199096827,19.3813157386389];
b_ks = [-2695.39092675439,-939.672531746312,961.515588821945,2210.29756706539,2467.48473866833];
b_cs = [-201.954714688118,-50.8492667369703,53.6278586055087,194.457163986525,249.521721113368];
b_v = [-60.9794122220985,-12.2605886638138,40.3320551469500,58.5557398820459,60.9600792388574];
load('luu_test6_road5.mat')
alfa = xval(1);
a1 = xval(2);
a2 = xval(3);
om0 = xval(4);
k0 = xval(5);
l2 = xval(6);
a_ks = sort(vec2mat(xval(7:21),3),2);
a_cs = sort(vec2mat(xval(22:36),3),2);
a_v = sort(vec2mat(xval(37:51),3),2);
b_ks = sort(xval(52:56));
b_cs = sort(xval(57:61));
b_v = sort(xval(62:66));
figure;plot(x2dot)
clear all;
%%
% d(t) la ma tran [1,1]
%% Quarter car suspension parameters
ms0 = 350;
ks0 = 13500;
cs0 = 1250;
ms = 390;%11600; % chassis mass (kg)
ks1 = 14500;%6050000; % (N/m)
ks2 = 160000; % (N/m^3)
cs1 = 1385;%53900;%+10000; % (Ns/m)
cs2 = 524; % (Ns^2/m^2)
deltaT = 1; % Simulation time step
%% Road track parameters
v0 = 10; % Car velocity (m/s)
%% Controller's parameters
% ========================================================================
%--- test 1: Non fuzzy, Non DO, Non adaptive ---
% alfa = 0.8;
% PHI = 1;
% eps = 0.00001;
% a1 = 7.986;
% a2 = 1;
% rho = 1;
% ========================================================================
%--- test 2: Non fuzzy, Non DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.860319003332432;%0.8;
% PHI = 1;
% eps = 0.00001;
% a1 = 7.29671443237562;%17.986; %[1:1000]
% a2 = 31.0910725400231;%1.5; %[1:100]
% om0 = 1.00877010240269;%50; %[1:100]
% k0 = 1.00737100496601;%8; %[1:100]
% ========================================================================
%--- test 3: Non fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.903939427492506;%0.8;
% PHI = 1;
% eps = 0.00001;
% a1 = 99.9999064998740;%1000; %[1:1000]
% a2 = 5.79880041558778;%100; %[1:100]
% om0 = 17.2650956350313;%100; %[1:100]
% k0 = 10.3014247024466;%100; %[1:100]
% l2 = 999.976462438817;%1000; %[1:1000]
% ========================================================================
%--- test 4_2: fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.861122351620850;
% PHI = 1;
% eps = 0.00001;
% a1 = 17.8051334428289; %[1:1000]
% a2 = 4.15358762147605; %[1:100]
% om0 = 39.3843577627403; %[1:100]
% k0 = 86.8262524222660; %[1:100]
% l2 = 702.476609911729; %[1:1000]
% a_ks = [-0.961333833670403,-0.899330803307806,-0.203641573649615;-0.714587210318562,-0.603776949561476,-0.0519421171400566;-0.569401535919983,-0.154732666542345,0.460515085255760;
-0.0369634433082456,0.511765121542169,0.920910287034163;0.496740417632112,0.805139098955115,0.967740436059881];
% a_cs = [-0.964478709339200,-0.703798450742280,-0.202268870219115;-0.846373670477416,-0.439204115799397,-0.134488848135273;-0.434917577984332,0.298947008155214,0.709230916791695;
0.0364888173167297,0.589560571026918,0.909128421524052;0.307327526029337,0.730196130188434,0.947516426147854];
% a_v = [0.328785173988373,2.39593998531366,8.88322805855561;2.48709144872506,5.12061363616383,11.6815068561810;0.614371040457829,9.70927511772269,15.0725582269162;
8.39850167206166,14.4186070019695,19.9958790809412;15.3373277074801,18.5401718582444,19.4919540118303];
% b_ks = [1.140838867648064e+03,1.563325184283469e+03,1.758974301114079e+03,1.924089934055805e+03,2.051296327176498e+03];
% b_cs = [-2.498011749318166e+02,-2.211457657563566e+02,-2.200934113180452e+02,-1.331636142939386e+02,35.590617737909355];
% b_v = [-14.033809303187045,-12.805152377743184,-4.217941212324154,3.362846124008737,10.451969690448408];
%--- test 4_3: fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.874416474647554;
% PHI = 1;
% eps = 0.00001;
% a1 = 28.1392941024985; %[1:1000]
% a2 = 10.7845176650621; %[1:100]
% om0 = 34.5676695821628; %[1:100]
% k0 = 54.1569841534051; %[1:100]
MATLAB Command History Page 63
May 7, 2019 3:46:17 PM
% l2 = 258.860891174173; %[1:1000]
% a_ks = [-0.909321819546334,-0.869712774181164,-0.179843630817213;-0.963285089514859,-0.356840041586254,-0.140732467996760;-0.436434511599391,-0.245511314626646,0.883452262287000;
-0.0630940718442964,0.402226661030769,0.914753087428342;0.409725350210209,0.774503174777497,0.942170626061155];
% a_cs = [-0.976945336186364,-0.797201708837825,-0.427421164318919;-0.774172643681359,-0.416686598076169,0.0346770342368840;-0.932904329295419,-0.331287397930847,0.487727937403140;
-0.0785075701520996,0.345441808596640,0.859897892632272;0.121013412059236,0.867147411357205,0.954525074131468];
% a_v = [0.188652933368498,2.88981447130858,7.31480834791171;0.501036698544254,4.89195413361812,15.8132956435916;2.49033011205642,10.1025078277259,16.3137115355969;
4.05292187550237,16.7215215705902,19.4229006842103;12.6875289657005,16.8927853070839,19.1682094196034];
% b_ks = [-2.620557275934223e+03,-1.265516610039276e+03,-1.423774897699486e+02,-10.156385214324473,8.479207791864951e+02];
% b_cs = [-2.443365882555417e+02,-1.664782162098575e+02,-9.825496107831356,65.567947526495000,1.794194044619588e+02];
% b_v = [-15.465113855193097,-13.151186792520216,-1.698982456219930,-0.093164606124731,5.304098059099491];
% %--- test 5:(1) fuzzy, DO, adaptive, rho_ad(t)---
% alfa = 0.942574137392154;
% PHI = 1;
% eps = 0.00001;
% a1 = 3.91996797753072; %[1:1000]
% a2 = 2.07976755703195; %[1:100]
% om0 = 269.403735195640; %[-350:350]
% k0 = 11.9560677334591; %[1:100]
% l2 = 868.234961755542; %[1:1000]
% a_ks = [-0.913896567489805,-0.810261969390445,-0.422672700921023;-0.773928252931969,-0.361619465367881,-0.177879139876683;-0.777924122264101,-0.382036228803866,0.905615805916168;
0.229524107564833,0.394946567682202,0.935038850388764;0.535072020144214,0.899747236052216,0.931111451425247];
% a_cs = [-0.909039044387363,-0.778873713173897,-0.374680973382311;-0.760482140097871,-0.586185865079997,-0.0465314259503577;-0.410535020852223,0.0498287545782999,0.934688746187930;
0.155095405571576,0.385341428516406,0.934664179179562;0.117689703735145,0.667028409753918,0.940737855689643];
% a_v = [0.824075546020548,3.73508436481782,6.27810925892297;1.14963865009847,3.42813258034903,8.38975258642237;3.08156413016454,6.63650613917525,19.8924901900451;
1.79328024770914,13.9678825020215,18.8788586306687;14.3602763361050,17.7385926821352,19.6866696052026];
% b_ks = [-2482.18727930770,-330.541066005408,-30.9931483953687,673.226926671120,1905.86759814742];
% b_cs = [-44.9508103700981,-17.3321828723973,108.023607165193,159.196550053602,226.955684544160];
% b_v = [-58.6034163000970,-31.2329243772538,-26.2963224707570,-13.7005777939359,31.8883778369306];
% %--- test 5:(2) fuzzy, DO, adaptive, rho_ad(t)---
% alfa = 0.911290258514504;
% PHI = 1;
% eps = 0.00001;
% a1 = 98.2994054387935; %[1:1000]
% a2 = 11.3912445955835; %[1:100]
% om0 = 20.5275741273146; %[-350:350]
% k0 = 3.19385799404128; %[1:100]
% l2 = 805.084697669284; %[1:1000]
% a_ks = [-0.964038271779661,-0.855844820367769,-0.415537291557998;-0.891474497543546,-0.621430133831117,0.0881202697497049;-0.972494304869310,-0.217852023178333,0.998832783357451;
0.116578364465014,0.328557580399482,0.831364101503458;0.474756956627304,0.601391455436352,0.932299643657357];
% a_cs = [-0.909511678355089,-0.600513264289541,-0.445343438415142;-0.850326484222123,-0.503422326195107,-0.291304200513736;-0.736258329552357,-0.255254817745895,0.451692033224452;
-0.0956200255046951,0.363755454218394,0.849243514112580;0.297010159366567,0.792522924020751,0.903705173253031];
% a_v = [0.632847496138695,3.61059363850071,6.28533294401274;1.23275288785036,3.38829399900567,19.5649921530789;2.54682991322493,9.28488382960306,16.1065354886895;
7.89217790266828,15.7709379541951,19.1531283049365;13.2464924314403,17.7920132135942,19.0343755650281];
% b_ks = [4.96167629922263,185.064046718791,224.983590533434,695.599202326821,2686.27334159526];
% b_cs = [-197.971778417411,-192.568497464081,-140.043901446571,2.96818613448369,66.9466707482322];
% b_v = [-17.0203356084492,-1.67641449915854,23.9632623822596,33.0180510680314,67.9717136468936];
% %--- test 5:(3) fuzzy, DO, adaptive, rho_ad(t)---
alfa = 0.840080220875599;
PHI = 1;
eps = 0.00001;
a1 = 87.1790710662921; %[1:1000]
a2 = 30.0127706062212; %[1:100]
om0 = 195.199856762208; %[-350:350]
k0 = 52.7149231640241; %[1:100]
l2 = 780.699568393096; %[1:1000]
a_ks = [-0.977665462942268,-0.654124870074655,-0.285599845505562;-0.913084740140048,-0.344841670908060,0.0110471596190468;-0.648776064473591,0.0754787651336873,0.897007627740067;
0.284047512694711,0.387735765871282,0.868558466823592;0.341778591647107,0.633706406712160,0.967128256684583];
a_cs = [-0.949778142906489,-0.815226158835317,-0.582720878650164;-0.997639713461401,-0.621381356386667,-0.234828555679164;-0.926037292139055,-0.395108955280334,0.901085640078752;
0.286530004912562,0.418054153824551,0.805139949350492;0.365399520697793,0.868149960571999,0.978444825113538];
a_v = [0.304883668339941,2.97014150581628,7.07493872181743;2.13594687640650,5.05667853266149,18.2172175712776;0.401730290445440,8.00185752023321,16.5745888097509;
3.50577189542485,13.0877332537229,19.8593849944045;13.4033854531989,18.8873199096827,19.3813157386389];
b_ks = [-2695.39092675439,-939.672531746312,961.515588821945,2210.29756706539,2467.48473866833];
b_cs = [-201.954714688118,-50.8492667369703,53.6278586055087,194.457163986525,249.521721113368];
b_v = [-60.9794122220985,-12.2605886638138,40.3320551469500,58.5557398820459,60.9600792388574];
load('luu_test4_road5.mat')
alfa = xval(1);
a1 = xval(2);
a2 = xval(3);
om0 = xval(4);
k0 = xval(5);
l2 = xval(6);
a_ks = sort(vec2mat(xval(7:21),3),2);
a_cs = sort(vec2mat(xval(22:36),3),2);
a_v = sort(vec2mat(xval(37:51),3),2);
b_ks = sort(xval(52:56));
b_cs = sort(xval(57:61));
b_v = sort(xval(62:66));
figure;plot(x2dot)
clear all;
%%
% d(t) la ma tran [1,1]
%% Quarter car suspension parameters
ms0 = 350;
ks0 = 13500;
cs0 = 1250;
ms = 390;%11600; % chassis mass (kg)
ks1 = 14500;%6050000; % (N/m)
ks2 = 160000; % (N/m^3)
cs1 = 1385;%53900;%+10000; % (Ns/m)
cs2 = 524; % (Ns^2/m^2)
deltaT = 1; % Simulation time step
%% Road track parameters
v0 = 10; % Car velocity (m/s)
%% Controller's parameters
% ========================================================================
%--- test 1: Non fuzzy, Non DO, Non adaptive ---
% alfa = 0.8;
% PHI = 1;
% eps = 0.00001;
% a1 = 7.986;
% a2 = 1;
% rho = 1;
% ========================================================================
%--- test 2: Non fuzzy, Non DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.860319003332432;%0.8;
% PHI = 1;
% eps = 0.00001;
% a1 = 7.29671443237562;%17.986; %[1:1000]
% a2 = 31.0910725400231;%1.5; %[1:100]
% om0 = 1.00877010240269;%50; %[1:100]
% k0 = 1.00737100496601;%8; %[1:100]
% ========================================================================
%--- test 3: Non fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.903939427492506;%0.8;
% PHI = 1;
% eps = 0.00001;
% a1 = 99.9999064998740;%1000; %[1:1000]
% a2 = 5.79880041558778;%100; %[1:100]
% om0 = 17.2650956350313;%100; %[1:100]
% k0 = 10.3014247024466;%100; %[1:100]
% l2 = 999.976462438817;%1000; %[1:1000]
% ========================================================================
%--- test 4_2: fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
MATLAB Command History Page 64
May 7, 2019 3:46:17 PM
% alfa = 0.861122351620850;
% PHI = 1;
% eps = 0.00001;
% a1 = 17.8051334428289; %[1:1000]
% a2 = 4.15358762147605; %[1:100]
% om0 = 39.3843577627403; %[1:100]
% k0 = 86.8262524222660; %[1:100]
% l2 = 702.476609911729; %[1:1000]
% a_ks = [-0.961333833670403,-0.899330803307806,-0.203641573649615;-0.714587210318562,-0.603776949561476,-0.0519421171400566;-0.569401535919983,-0.154732666542345,0.460515085255760;
-0.0369634433082456,0.511765121542169,0.920910287034163;0.496740417632112,0.805139098955115,0.967740436059881];
% a_cs = [-0.964478709339200,-0.703798450742280,-0.202268870219115;-0.846373670477416,-0.439204115799397,-0.134488848135273;-0.434917577984332,0.298947008155214,0.709230916791695;
0.0364888173167297,0.589560571026918,0.909128421524052;0.307327526029337,0.730196130188434,0.947516426147854];
% a_v = [0.328785173988373,2.39593998531366,8.88322805855561;2.48709144872506,5.12061363616383,11.6815068561810;0.614371040457829,9.70927511772269,15.0725582269162;
8.39850167206166,14.4186070019695,19.9958790809412;15.3373277074801,18.5401718582444,19.4919540118303];
% b_ks = [1.140838867648064e+03,1.563325184283469e+03,1.758974301114079e+03,1.924089934055805e+03,2.051296327176498e+03];
% b_cs = [-2.498011749318166e+02,-2.211457657563566e+02,-2.200934113180452e+02,-1.331636142939386e+02,35.590617737909355];
% b_v = [-14.033809303187045,-12.805152377743184,-4.217941212324154,3.362846124008737,10.451969690448408];
%--- test 4_3: fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.874416474647554;
% PHI = 1;
% eps = 0.00001;
% a1 = 28.1392941024985; %[1:1000]
% a2 = 10.7845176650621; %[1:100]
% om0 = 34.5676695821628; %[1:100]
% k0 = 54.1569841534051; %[1:100]
% l2 = 258.860891174173; %[1:1000]
% a_ks = [-0.909321819546334,-0.869712774181164,-0.179843630817213;-0.963285089514859,-0.356840041586254,-0.140732467996760;-0.436434511599391,-0.245511314626646,0.883452262287000;
-0.0630940718442964,0.402226661030769,0.914753087428342;0.409725350210209,0.774503174777497,0.942170626061155];
% a_cs = [-0.976945336186364,-0.797201708837825,-0.427421164318919;-0.774172643681359,-0.416686598076169,0.0346770342368840;-0.932904329295419,-0.331287397930847,0.487727937403140;
-0.0785075701520996,0.345441808596640,0.859897892632272;0.121013412059236,0.867147411357205,0.954525074131468];
% a_v = [0.188652933368498,2.88981447130858,7.31480834791171;0.501036698544254,4.89195413361812,15.8132956435916;2.49033011205642,10.1025078277259,16.3137115355969;
4.05292187550237,16.7215215705902,19.4229006842103;12.6875289657005,16.8927853070839,19.1682094196034];
% b_ks = [-2.620557275934223e+03,-1.265516610039276e+03,-1.423774897699486e+02,-10.156385214324473,8.479207791864951e+02];
% b_cs = [-2.443365882555417e+02,-1.664782162098575e+02,-9.825496107831356,65.567947526495000,1.794194044619588e+02];
% b_v = [-15.465113855193097,-13.151186792520216,-1.698982456219930,-0.093164606124731,5.304098059099491];
% %--- test 5:(1) fuzzy, DO, adaptive, rho_ad(t)---
% alfa = 0.942574137392154;
% PHI = 1;
% eps = 0.00001;
% a1 = 3.91996797753072; %[1:1000]
% a2 = 2.07976755703195; %[1:100]
% om0 = 269.403735195640; %[-350:350]
% k0 = 11.9560677334591; %[1:100]
% l2 = 868.234961755542; %[1:1000]
% a_ks = [-0.913896567489805,-0.810261969390445,-0.422672700921023;-0.773928252931969,-0.361619465367881,-0.177879139876683;-0.777924122264101,-0.382036228803866,0.905615805916168;
0.229524107564833,0.394946567682202,0.935038850388764;0.535072020144214,0.899747236052216,0.931111451425247];
% a_cs = [-0.909039044387363,-0.778873713173897,-0.374680973382311;-0.760482140097871,-0.586185865079997,-0.0465314259503577;-0.410535020852223,0.0498287545782999,0.934688746187930;
0.155095405571576,0.385341428516406,0.934664179179562;0.117689703735145,0.667028409753918,0.940737855689643];
% a_v = [0.824075546020548,3.73508436481782,6.27810925892297;1.14963865009847,3.42813258034903,8.38975258642237;3.08156413016454,6.63650613917525,19.8924901900451;
1.79328024770914,13.9678825020215,18.8788586306687;14.3602763361050,17.7385926821352,19.6866696052026];
% b_ks = [-2482.18727930770,-330.541066005408,-30.9931483953687,673.226926671120,1905.86759814742];
% b_cs = [-44.9508103700981,-17.3321828723973,108.023607165193,159.196550053602,226.955684544160];
% b_v = [-58.6034163000970,-31.2329243772538,-26.2963224707570,-13.7005777939359,31.8883778369306];
% %--- test 5:(2) fuzzy, DO, adaptive, rho_ad(t)---
% alfa = 0.911290258514504;
% PHI = 1;
% eps = 0.00001;
% a1 = 98.2994054387935; %[1:1000]
% a2 = 11.3912445955835; %[1:100]
% om0 = 20.5275741273146; %[-350:350]
% k0 = 3.19385799404128; %[1:100]
% l2 = 805.084697669284; %[1:1000]
% a_ks = [-0.964038271779661,-0.855844820367769,-0.415537291557998;-0.891474497543546,-0.621430133831117,0.0881202697497049;-0.972494304869310,-0.217852023178333,0.998832783357451;
0.116578364465014,0.328557580399482,0.831364101503458;0.474756956627304,0.601391455436352,0.932299643657357];
% a_cs = [-0.909511678355089,-0.600513264289541,-0.445343438415142;-0.850326484222123,-0.503422326195107,-0.291304200513736;-0.736258329552357,-0.255254817745895,0.451692033224452;
-0.0956200255046951,0.363755454218394,0.849243514112580;0.297010159366567,0.792522924020751,0.903705173253031];
% a_v = [0.632847496138695,3.61059363850071,6.28533294401274;1.23275288785036,3.38829399900567,19.5649921530789;2.54682991322493,9.28488382960306,16.1065354886895;
7.89217790266828,15.7709379541951,19.1531283049365;13.2464924314403,17.7920132135942,19.0343755650281];
% b_ks = [4.96167629922263,185.064046718791,224.983590533434,695.599202326821,2686.27334159526];
% b_cs = [-197.971778417411,-192.568497464081,-140.043901446571,2.96818613448369,66.9466707482322];
% b_v = [-17.0203356084492,-1.67641449915854,23.9632623822596,33.0180510680314,67.9717136468936];
% %--- test 5:(3) fuzzy, DO, adaptive, rho_ad(t)---
alfa = 0.840080220875599;
PHI = 1;
eps = 0.00001;
a1 = 87.1790710662921; %[1:1000]
a2 = 30.0127706062212; %[1:100]
om0 = 195.199856762208; %[-350:350]
k0 = 52.7149231640241; %[1:100]
l2 = 780.699568393096; %[1:1000]
a_ks = [-0.977665462942268,-0.654124870074655,-0.285599845505562;-0.913084740140048,-0.344841670908060,0.0110471596190468;-0.648776064473591,0.0754787651336873,0.897007627740067;
0.284047512694711,0.387735765871282,0.868558466823592;0.341778591647107,0.633706406712160,0.967128256684583];
a_cs = [-0.949778142906489,-0.815226158835317,-0.582720878650164;-0.997639713461401,-0.621381356386667,-0.234828555679164;-0.926037292139055,-0.395108955280334,0.901085640078752;
0.286530004912562,0.418054153824551,0.805139949350492;0.365399520697793,0.868149960571999,0.978444825113538];
a_v = [0.304883668339941,2.97014150581628,7.07493872181743;2.13594687640650,5.05667853266149,18.2172175712776;0.401730290445440,8.00185752023321,16.5745888097509;
3.50577189542485,13.0877332537229,19.8593849944045;13.4033854531989,18.8873199096827,19.3813157386389];
b_ks = [-2695.39092675439,-939.672531746312,961.515588821945,2210.29756706539,2467.48473866833];
b_cs = [-201.954714688118,-50.8492667369703,53.6278586055087,194.457163986525,249.521721113368];
b_v = [-60.9794122220985,-12.2605886638138,40.3320551469500,58.5557398820459,60.9600792388574];
load('luu_test5_road5.mat')
alfa = xval(1);
a1 = xval(2);
a2 = xval(3);
om0 = xval(4);
k0 = xval(5);
l2 = xval(6);
a_ks = sort(vec2mat(xval(7:21),3),2);
a_cs = sort(vec2mat(xval(22:36),3),2);
a_v = sort(vec2mat(xval(37:51),3),2);
b_ks = sort(xval(52:56));
b_cs = sort(xval(57:61));
b_v = sort(xval(62:66));
figure;plot(x2dot)
clear all;
%%
% d(t) la ma tran [1,1]
%% Quarter car suspension parameters
ms0 = 350;
ks0 = 13500;
cs0 = 1250;
ms = 390;%11600; % chassis mass (kg)
ks1 = 14500;%6050000; % (N/m)
ks2 = 160000; % (N/m^3)
cs1 = 1385;%53900;%+10000; % (Ns/m)
cs2 = 524; % (Ns^2/m^2)
deltaT = 1; % Simulation time step
%% Road track parameters
v0 = 10; % Car velocity (m/s)
%% Controller's parameters
% ========================================================================
%--- test 1: Non fuzzy, Non DO, Non adaptive ---
% alfa = 0.8;
% PHI = 1;
MATLAB Command History Page 65
May 7, 2019 3:46:17 PM
% eps = 0.00001;
% a1 = 7.986;
% a2 = 1;
% rho = 1;
% ========================================================================
%--- test 2: Non fuzzy, Non DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.860319003332432;%0.8;
% PHI = 1;
% eps = 0.00001;
% a1 = 7.29671443237562;%17.986; %[1:1000]
% a2 = 31.0910725400231;%1.5; %[1:100]
% om0 = 1.00877010240269;%50; %[1:100]
% k0 = 1.00737100496601;%8; %[1:100]
% ========================================================================
%--- test 3: Non fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.903939427492506;%0.8;
% PHI = 1;
% eps = 0.00001;
% a1 = 99.9999064998740;%1000; %[1:1000]
% a2 = 5.79880041558778;%100; %[1:100]
% om0 = 17.2650956350313;%100; %[1:100]
% k0 = 10.3014247024466;%100; %[1:100]
% l2 = 999.976462438817;%1000; %[1:1000]
% ========================================================================
%--- test 4_2: fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.861122351620850;
% PHI = 1;
% eps = 0.00001;
% a1 = 17.8051334428289; %[1:1000]
% a2 = 4.15358762147605; %[1:100]
% om0 = 39.3843577627403; %[1:100]
% k0 = 86.8262524222660; %[1:100]
% l2 = 702.476609911729; %[1:1000]
% a_ks = [-0.961333833670403,-0.899330803307806,-0.203641573649615;-0.714587210318562,-0.603776949561476,-0.0519421171400566;-0.569401535919983,-0.154732666542345,0.460515085255760;
-0.0369634433082456,0.511765121542169,0.920910287034163;0.496740417632112,0.805139098955115,0.967740436059881];
% a_cs = [-0.964478709339200,-0.703798450742280,-0.202268870219115;-0.846373670477416,-0.439204115799397,-0.134488848135273;-0.434917577984332,0.298947008155214,0.709230916791695;
0.0364888173167297,0.589560571026918,0.909128421524052;0.307327526029337,0.730196130188434,0.947516426147854];
% a_v = [0.328785173988373,2.39593998531366,8.88322805855561;2.48709144872506,5.12061363616383,11.6815068561810;0.614371040457829,9.70927511772269,15.0725582269162;
8.39850167206166,14.4186070019695,19.9958790809412;15.3373277074801,18.5401718582444,19.4919540118303];
% b_ks = [1.140838867648064e+03,1.563325184283469e+03,1.758974301114079e+03,1.924089934055805e+03,2.051296327176498e+03];
% b_cs = [-2.498011749318166e+02,-2.211457657563566e+02,-2.200934113180452e+02,-1.331636142939386e+02,35.590617737909355];
% b_v = [-14.033809303187045,-12.805152377743184,-4.217941212324154,3.362846124008737,10.451969690448408];
%--- test 4_3: fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.874416474647554;
% PHI = 1;
% eps = 0.00001;
% a1 = 28.1392941024985; %[1:1000]
% a2 = 10.7845176650621; %[1:100]
% om0 = 34.5676695821628; %[1:100]
% k0 = 54.1569841534051; %[1:100]
% l2 = 258.860891174173; %[1:1000]
% a_ks = [-0.909321819546334,-0.869712774181164,-0.179843630817213;-0.963285089514859,-0.356840041586254,-0.140732467996760;-0.436434511599391,-0.245511314626646,0.883452262287000;
-0.0630940718442964,0.402226661030769,0.914753087428342;0.409725350210209,0.774503174777497,0.942170626061155];
% a_cs = [-0.976945336186364,-0.797201708837825,-0.427421164318919;-0.774172643681359,-0.416686598076169,0.0346770342368840;-0.932904329295419,-0.331287397930847,0.487727937403140;
-0.0785075701520996,0.345441808596640,0.859897892632272;0.121013412059236,0.867147411357205,0.954525074131468];
% a_v = [0.188652933368498,2.88981447130858,7.31480834791171;0.501036698544254,4.89195413361812,15.8132956435916;2.49033011205642,10.1025078277259,16.3137115355969;
4.05292187550237,16.7215215705902,19.4229006842103;12.6875289657005,16.8927853070839,19.1682094196034];
% b_ks = [-2.620557275934223e+03,-1.265516610039276e+03,-1.423774897699486e+02,-10.156385214324473,8.479207791864951e+02];
% b_cs = [-2.443365882555417e+02,-1.664782162098575e+02,-9.825496107831356,65.567947526495000,1.794194044619588e+02];
% b_v = [-15.465113855193097,-13.151186792520216,-1.698982456219930,-0.093164606124731,5.304098059099491];
% %--- test 5:(1) fuzzy, DO, adaptive, rho_ad(t)---
% alfa = 0.942574137392154;
% PHI = 1;
% eps = 0.00001;
% a1 = 3.91996797753072; %[1:1000]
% a2 = 2.07976755703195; %[1:100]
% om0 = 269.403735195640; %[-350:350]
% k0 = 11.9560677334591; %[1:100]
% l2 = 868.234961755542; %[1:1000]
% a_ks = [-0.913896567489805,-0.810261969390445,-0.422672700921023;-0.773928252931969,-0.361619465367881,-0.177879139876683;-0.777924122264101,-0.382036228803866,0.905615805916168;
0.229524107564833,0.394946567682202,0.935038850388764;0.535072020144214,0.899747236052216,0.931111451425247];
% a_cs = [-0.909039044387363,-0.778873713173897,-0.374680973382311;-0.760482140097871,-0.586185865079997,-0.0465314259503577;-0.410535020852223,0.0498287545782999,0.934688746187930;
0.155095405571576,0.385341428516406,0.934664179179562;0.117689703735145,0.667028409753918,0.940737855689643];
% a_v = [0.824075546020548,3.73508436481782,6.27810925892297;1.14963865009847,3.42813258034903,8.38975258642237;3.08156413016454,6.63650613917525,19.8924901900451;
1.79328024770914,13.9678825020215,18.8788586306687;14.3602763361050,17.7385926821352,19.6866696052026];
% b_ks = [-2482.18727930770,-330.541066005408,-30.9931483953687,673.226926671120,1905.86759814742];
% b_cs = [-44.9508103700981,-17.3321828723973,108.023607165193,159.196550053602,226.955684544160];
% b_v = [-58.6034163000970,-31.2329243772538,-26.2963224707570,-13.7005777939359,31.8883778369306];
% %--- test 5:(2) fuzzy, DO, adaptive, rho_ad(t)---
% alfa = 0.911290258514504;
% PHI = 1;
% eps = 0.00001;
% a1 = 98.2994054387935; %[1:1000]
% a2 = 11.3912445955835; %[1:100]
% om0 = 20.5275741273146; %[-350:350]
% k0 = 3.19385799404128; %[1:100]
% l2 = 805.084697669284; %[1:1000]
% a_ks = [-0.964038271779661,-0.855844820367769,-0.415537291557998;-0.891474497543546,-0.621430133831117,0.0881202697497049;-0.972494304869310,-0.217852023178333,0.998832783357451;
0.116578364465014,0.328557580399482,0.831364101503458;0.474756956627304,0.601391455436352,0.932299643657357];
% a_cs = [-0.909511678355089,-0.600513264289541,-0.445343438415142;-0.850326484222123,-0.503422326195107,-0.291304200513736;-0.736258329552357,-0.255254817745895,0.451692033224452;
-0.0956200255046951,0.363755454218394,0.849243514112580;0.297010159366567,0.792522924020751,0.903705173253031];
% a_v = [0.632847496138695,3.61059363850071,6.28533294401274;1.23275288785036,3.38829399900567,19.5649921530789;2.54682991322493,9.28488382960306,16.1065354886895;
7.89217790266828,15.7709379541951,19.1531283049365;13.2464924314403,17.7920132135942,19.0343755650281];
% b_ks = [4.96167629922263,185.064046718791,224.983590533434,695.599202326821,2686.27334159526];
% b_cs = [-197.971778417411,-192.568497464081,-140.043901446571,2.96818613448369,66.9466707482322];
% b_v = [-17.0203356084492,-1.67641449915854,23.9632623822596,33.0180510680314,67.9717136468936];
% %--- test 5:(3) fuzzy, DO, adaptive, rho_ad(t)---
alfa = 0.840080220875599;
PHI = 1;
eps = 0.00001;
a1 = 87.1790710662921; %[1:1000]
a2 = 30.0127706062212; %[1:100]
om0 = 195.199856762208; %[-350:350]
k0 = 52.7149231640241; %[1:100]
l2 = 780.699568393096; %[1:1000]
a_ks = [-0.977665462942268,-0.654124870074655,-0.285599845505562;-0.913084740140048,-0.344841670908060,0.0110471596190468;-0.648776064473591,0.0754787651336873,0.897007627740067;
0.284047512694711,0.387735765871282,0.868558466823592;0.341778591647107,0.633706406712160,0.967128256684583];
a_cs = [-0.949778142906489,-0.815226158835317,-0.582720878650164;-0.997639713461401,-0.621381356386667,-0.234828555679164;-0.926037292139055,-0.395108955280334,0.901085640078752;
0.286530004912562,0.418054153824551,0.805139949350492;0.365399520697793,0.868149960571999,0.978444825113538];
a_v = [0.304883668339941,2.97014150581628,7.07493872181743;2.13594687640650,5.05667853266149,18.2172175712776;0.401730290445440,8.00185752023321,16.5745888097509;
3.50577189542485,13.0877332537229,19.8593849944045;13.4033854531989,18.8873199096827,19.3813157386389];
b_ks = [-2695.39092675439,-939.672531746312,961.515588821945,2210.29756706539,2467.48473866833];
b_cs = [-201.954714688118,-50.8492667369703,53.6278586055087,194.457163986525,249.521721113368];
b_v = [-60.9794122220985,-12.2605886638138,40.3320551469500,58.5557398820459,60.9600792388574];
load('luu_test6_road5.mat')
alfa = xval(1);
a1 = xval(2);
a2 = xval(3);
om0 = xval(4);
k0 = xval(5);
l2 = xval(6);
a_ks = sort(vec2mat(xval(7:21),3),2);
a_cs = sort(vec2mat(xval(22:36),3),2);
MATLAB Command History Page 66
May 7, 2019 3:46:17 PM
a_v = sort(vec2mat(xval(37:51),3),2);
b_ks = sort(xval(52:56));
b_cs = sort(xval(57:61));
b_v = sort(xval(62:66));
figure;plot(x2dot)
clear all;
%%
% d(t) la ma tran [1,1]
%% Quarter car suspension parameters
ms0 = 350;
ks0 = 13500;
cs0 = 1250;
ms = 390;%11600; % chassis mass (kg)
ks1 = 14500;%6050000; % (N/m)
ks2 = 160000; % (N/m^3)
cs1 = 1385;%53900;%+10000; % (Ns/m)
cs2 = 524; % (Ns^2/m^2)
deltaT = 1; % Simulation time step
%% Road track parameters
v0 = 10; % Car velocity (m/s)
%% Controller's parameters
% ========================================================================
%--- test 1: Non fuzzy, Non DO, Non adaptive ---
% alfa = 0.8;
% PHI = 1;
% eps = 0.00001;
% a1 = 7.986;
% a2 = 1;
% rho = 1;
% ========================================================================
%--- test 2: Non fuzzy, Non DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.860319003332432;%0.8;
% PHI = 1;
% eps = 0.00001;
% a1 = 7.29671443237562;%17.986; %[1:1000]
% a2 = 31.0910725400231;%1.5; %[1:100]
% om0 = 1.00877010240269;%50; %[1:100]
% k0 = 1.00737100496601;%8; %[1:100]
% ========================================================================
%--- test 3: Non fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.903939427492506;%0.8;
% PHI = 1;
% eps = 0.00001;
% a1 = 99.9999064998740;%1000; %[1:1000]
% a2 = 5.79880041558778;%100; %[1:100]
% om0 = 17.2650956350313;%100; %[1:100]
% k0 = 10.3014247024466;%100; %[1:100]
% l2 = 999.976462438817;%1000; %[1:1000]
% ========================================================================
%--- test 4_2: fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.861122351620850;
% PHI = 1;
% eps = 0.00001;
% a1 = 17.8051334428289; %[1:1000]
% a2 = 4.15358762147605; %[1:100]
% om0 = 39.3843577627403; %[1:100]
% k0 = 86.8262524222660; %[1:100]
% l2 = 702.476609911729; %[1:1000]
% a_ks = [-0.961333833670403,-0.899330803307806,-0.203641573649615;-0.714587210318562,-0.603776949561476,-0.0519421171400566;-0.569401535919983,-0.154732666542345,0.460515085255760;
-0.0369634433082456,0.511765121542169,0.920910287034163;0.496740417632112,0.805139098955115,0.967740436059881];
% a_cs = [-0.964478709339200,-0.703798450742280,-0.202268870219115;-0.846373670477416,-0.439204115799397,-0.134488848135273;-0.434917577984332,0.298947008155214,0.709230916791695;
0.0364888173167297,0.589560571026918,0.909128421524052;0.307327526029337,0.730196130188434,0.947516426147854];
% a_v = [0.328785173988373,2.39593998531366,8.88322805855561;2.48709144872506,5.12061363616383,11.6815068561810;0.614371040457829,9.70927511772269,15.0725582269162;
8.39850167206166,14.4186070019695,19.9958790809412;15.3373277074801,18.5401718582444,19.4919540118303];
% b_ks = [1.140838867648064e+03,1.563325184283469e+03,1.758974301114079e+03,1.924089934055805e+03,2.051296327176498e+03];
% b_cs = [-2.498011749318166e+02,-2.211457657563566e+02,-2.200934113180452e+02,-1.331636142939386e+02,35.590617737909355];
% b_v = [-14.033809303187045,-12.805152377743184,-4.217941212324154,3.362846124008737,10.451969690448408];
%--- test 4_3: fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.874416474647554;
% PHI = 1;
% eps = 0.00001;
% a1 = 28.1392941024985; %[1:1000]
% a2 = 10.7845176650621; %[1:100]
% om0 = 34.5676695821628; %[1:100]
% k0 = 54.1569841534051; %[1:100]
% l2 = 258.860891174173; %[1:1000]
% a_ks = [-0.909321819546334,-0.869712774181164,-0.179843630817213;-0.963285089514859,-0.356840041586254,-0.140732467996760;-0.436434511599391,-0.245511314626646,0.883452262287000;
-0.0630940718442964,0.402226661030769,0.914753087428342;0.409725350210209,0.774503174777497,0.942170626061155];
% a_cs = [-0.976945336186364,-0.797201708837825,-0.427421164318919;-0.774172643681359,-0.416686598076169,0.0346770342368840;-0.932904329295419,-0.331287397930847,0.487727937403140;
-0.0785075701520996,0.345441808596640,0.859897892632272;0.121013412059236,0.867147411357205,0.954525074131468];
% a_v = [0.188652933368498,2.88981447130858,7.31480834791171;0.501036698544254,4.89195413361812,15.8132956435916;2.49033011205642,10.1025078277259,16.3137115355969;
4.05292187550237,16.7215215705902,19.4229006842103;12.6875289657005,16.8927853070839,19.1682094196034];
% b_ks = [-2.620557275934223e+03,-1.265516610039276e+03,-1.423774897699486e+02,-10.156385214324473,8.479207791864951e+02];
% b_cs = [-2.443365882555417e+02,-1.664782162098575e+02,-9.825496107831356,65.567947526495000,1.794194044619588e+02];
% b_v = [-15.465113855193097,-13.151186792520216,-1.698982456219930,-0.093164606124731,5.304098059099491];
% %--- test 5:(1) fuzzy, DO, adaptive, rho_ad(t)---
% alfa = 0.942574137392154;
% PHI = 1;
% eps = 0.00001;
% a1 = 3.91996797753072; %[1:1000]
% a2 = 2.07976755703195; %[1:100]
% om0 = 269.403735195640; %[-350:350]
% k0 = 11.9560677334591; %[1:100]
% l2 = 868.234961755542; %[1:1000]
% a_ks = [-0.913896567489805,-0.810261969390445,-0.422672700921023;-0.773928252931969,-0.361619465367881,-0.177879139876683;-0.777924122264101,-0.382036228803866,0.905615805916168;
0.229524107564833,0.394946567682202,0.935038850388764;0.535072020144214,0.899747236052216,0.931111451425247];
% a_cs = [-0.909039044387363,-0.778873713173897,-0.374680973382311;-0.760482140097871,-0.586185865079997,-0.0465314259503577;-0.410535020852223,0.0498287545782999,0.934688746187930;
0.155095405571576,0.385341428516406,0.934664179179562;0.117689703735145,0.667028409753918,0.940737855689643];
% a_v = [0.824075546020548,3.73508436481782,6.27810925892297;1.14963865009847,3.42813258034903,8.38975258642237;3.08156413016454,6.63650613917525,19.8924901900451;
1.79328024770914,13.9678825020215,18.8788586306687;14.3602763361050,17.7385926821352,19.6866696052026];
% b_ks = [-2482.18727930770,-330.541066005408,-30.9931483953687,673.226926671120,1905.86759814742];
% b_cs = [-44.9508103700981,-17.3321828723973,108.023607165193,159.196550053602,226.955684544160];
% b_v = [-58.6034163000970,-31.2329243772538,-26.2963224707570,-13.7005777939359,31.8883778369306];
% %--- test 5:(2) fuzzy, DO, adaptive, rho_ad(t)---
% alfa = 0.911290258514504;
% PHI = 1;
% eps = 0.00001;
% a1 = 98.2994054387935; %[1:1000]
% a2 = 11.3912445955835; %[1:100]
% om0 = 20.5275741273146; %[-350:350]
% k0 = 3.19385799404128; %[1:100]
% l2 = 805.084697669284; %[1:1000]
% a_ks = [-0.964038271779661,-0.855844820367769,-0.415537291557998;-0.891474497543546,-0.621430133831117,0.0881202697497049;-0.972494304869310,-0.217852023178333,0.998832783357451;
0.116578364465014,0.328557580399482,0.831364101503458;0.474756956627304,0.601391455436352,0.932299643657357];
% a_cs = [-0.909511678355089,-0.600513264289541,-0.445343438415142;-0.850326484222123,-0.503422326195107,-0.291304200513736;-0.736258329552357,-0.255254817745895,0.451692033224452;
-0.0956200255046951,0.363755454218394,0.849243514112580;0.297010159366567,0.792522924020751,0.903705173253031];
% a_v = [0.632847496138695,3.61059363850071,6.28533294401274;1.23275288785036,3.38829399900567,19.5649921530789;2.54682991322493,9.28488382960306,16.1065354886895;
7.89217790266828,15.7709379541951,19.1531283049365;13.2464924314403,17.7920132135942,19.0343755650281];
% b_ks = [4.96167629922263,185.064046718791,224.983590533434,695.599202326821,2686.27334159526];
% b_cs = [-197.971778417411,-192.568497464081,-140.043901446571,2.96818613448369,66.9466707482322];
% b_v = [-17.0203356084492,-1.67641449915854,23.9632623822596,33.0180510680314,67.9717136468936];
% %--- test 5:(3) fuzzy, DO, adaptive, rho_ad(t)---
alfa = 0.840080220875599;
MATLAB Command History Page 67
May 7, 2019 3:46:17 PM
PHI = 1;
eps = 0.00001;
a1 = 87.1790710662921; %[1:1000]
a2 = 30.0127706062212; %[1:100]
om0 = 195.199856762208; %[-350:350]
k0 = 52.7149231640241; %[1:100]
l2 = 780.699568393096; %[1:1000]
a_ks = [-0.977665462942268,-0.654124870074655,-0.285599845505562;-0.913084740140048,-0.344841670908060,0.0110471596190468;-0.648776064473591,0.0754787651336873,0.897007627740067;
0.284047512694711,0.387735765871282,0.868558466823592;0.341778591647107,0.633706406712160,0.967128256684583];
a_cs = [-0.949778142906489,-0.815226158835317,-0.582720878650164;-0.997639713461401,-0.621381356386667,-0.234828555679164;-0.926037292139055,-0.395108955280334,0.901085640078752;
0.286530004912562,0.418054153824551,0.805139949350492;0.365399520697793,0.868149960571999,0.978444825113538];
a_v = [0.304883668339941,2.97014150581628,7.07493872181743;2.13594687640650,5.05667853266149,18.2172175712776;0.401730290445440,8.00185752023321,16.5745888097509;
3.50577189542485,13.0877332537229,19.8593849944045;13.4033854531989,18.8873199096827,19.3813157386389];
b_ks = [-2695.39092675439,-939.672531746312,961.515588821945,2210.29756706539,2467.48473866833];
b_cs = [-201.954714688118,-50.8492667369703,53.6278586055087,194.457163986525,249.521721113368];
b_v = [-60.9794122220985,-12.2605886638138,40.3320551469500,58.5557398820459,60.9600792388574];
load('luu_test4_road5.mat')
alfa = xval(1);
a1 = xval(2);
a2 = xval(3);
om0 = xval(4);
k0 = xval(5);
l2 = xval(6);
a_ks = sort(vec2mat(xval(7:21),3),2);
a_cs = sort(vec2mat(xval(22:36),3),2);
a_v = sort(vec2mat(xval(37:51),3),2);
b_ks = sort(xval(52:56));
b_cs = sort(xval(57:61));
b_v = sort(xval(62:66));
figure;plot(x2dot)
clear all;
%%
% d(t) la ma tran [1,1]
%% Quarter car suspension parameters
ms0 = 350;
ks0 = 13500;
cs0 = 1250;
ms = 390;%11600; % chassis mass (kg)
ks1 = 14500;%6050000; % (N/m)
ks2 = 160000; % (N/m^3)
cs1 = 1385;%53900;%+10000; % (Ns/m)
cs2 = 524; % (Ns^2/m^2)
deltaT = 1; % Simulation time step
%% Road track parameters
v0 = 10; % Car velocity (m/s)
%% Controller's parameters
% ========================================================================
%--- test 1: Non fuzzy, Non DO, Non adaptive ---
% alfa = 0.8;
% PHI = 1;
% eps = 0.00001;
% a1 = 7.986;
% a2 = 1;
% rho = 1;
% ========================================================================
%--- test 2: Non fuzzy, Non DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.860319003332432;%0.8;
% PHI = 1;
% eps = 0.00001;
% a1 = 7.29671443237562;%17.986; %[1:1000]
% a2 = 31.0910725400231;%1.5; %[1:100]
% om0 = 1.00877010240269;%50; %[1:100]
% k0 = 1.00737100496601;%8; %[1:100]
% ========================================================================
%--- test 3: Non fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.903939427492506;%0.8;
% PHI = 1;
% eps = 0.00001;
% a1 = 99.9999064998740;%1000; %[1:1000]
% a2 = 5.79880041558778;%100; %[1:100]
% om0 = 17.2650956350313;%100; %[1:100]
% k0 = 10.3014247024466;%100; %[1:100]
% l2 = 999.976462438817;%1000; %[1:1000]
% ========================================================================
%--- test 4_2: fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.861122351620850;
% PHI = 1;
% eps = 0.00001;
% a1 = 17.8051334428289; %[1:1000]
% a2 = 4.15358762147605; %[1:100]
% om0 = 39.3843577627403; %[1:100]
% k0 = 86.8262524222660; %[1:100]
% l2 = 702.476609911729; %[1:1000]
% a_ks = [-0.961333833670403,-0.899330803307806,-0.203641573649615;-0.714587210318562,-0.603776949561476,-0.0519421171400566;-0.569401535919983,-0.154732666542345,0.460515085255760;
-0.0369634433082456,0.511765121542169,0.920910287034163;0.496740417632112,0.805139098955115,0.967740436059881];
% a_cs = [-0.964478709339200,-0.703798450742280,-0.202268870219115;-0.846373670477416,-0.439204115799397,-0.134488848135273;-0.434917577984332,0.298947008155214,0.709230916791695;
0.0364888173167297,0.589560571026918,0.909128421524052;0.307327526029337,0.730196130188434,0.947516426147854];
% a_v = [0.328785173988373,2.39593998531366,8.88322805855561;2.48709144872506,5.12061363616383,11.6815068561810;0.614371040457829,9.70927511772269,15.0725582269162;
8.39850167206166,14.4186070019695,19.9958790809412;15.3373277074801,18.5401718582444,19.4919540118303];
% b_ks = [1.140838867648064e+03,1.563325184283469e+03,1.758974301114079e+03,1.924089934055805e+03,2.051296327176498e+03];
% b_cs = [-2.498011749318166e+02,-2.211457657563566e+02,-2.200934113180452e+02,-1.331636142939386e+02,35.590617737909355];
% b_v = [-14.033809303187045,-12.805152377743184,-4.217941212324154,3.362846124008737,10.451969690448408];
%--- test 4_3: fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.874416474647554;
% PHI = 1;
% eps = 0.00001;
% a1 = 28.1392941024985; %[1:1000]
% a2 = 10.7845176650621; %[1:100]
% om0 = 34.5676695821628; %[1:100]
% k0 = 54.1569841534051; %[1:100]
% l2 = 258.860891174173; %[1:1000]
% a_ks = [-0.909321819546334,-0.869712774181164,-0.179843630817213;-0.963285089514859,-0.356840041586254,-0.140732467996760;-0.436434511599391,-0.245511314626646,0.883452262287000;
-0.0630940718442964,0.402226661030769,0.914753087428342;0.409725350210209,0.774503174777497,0.942170626061155];
% a_cs = [-0.976945336186364,-0.797201708837825,-0.427421164318919;-0.774172643681359,-0.416686598076169,0.0346770342368840;-0.932904329295419,-0.331287397930847,0.487727937403140;
-0.0785075701520996,0.345441808596640,0.859897892632272;0.121013412059236,0.867147411357205,0.954525074131468];
% a_v = [0.188652933368498,2.88981447130858,7.31480834791171;0.501036698544254,4.89195413361812,15.8132956435916;2.49033011205642,10.1025078277259,16.3137115355969;
4.05292187550237,16.7215215705902,19.4229006842103;12.6875289657005,16.8927853070839,19.1682094196034];
% b_ks = [-2.620557275934223e+03,-1.265516610039276e+03,-1.423774897699486e+02,-10.156385214324473,8.479207791864951e+02];
% b_cs = [-2.443365882555417e+02,-1.664782162098575e+02,-9.825496107831356,65.567947526495000,1.794194044619588e+02];
% b_v = [-15.465113855193097,-13.151186792520216,-1.698982456219930,-0.093164606124731,5.304098059099491];
% %--- test 5:(1) fuzzy, DO, adaptive, rho_ad(t)---
% alfa = 0.942574137392154;
% PHI = 1;
% eps = 0.00001;
% a1 = 3.91996797753072; %[1:1000]
% a2 = 2.07976755703195; %[1:100]
% om0 = 269.403735195640; %[-350:350]
% k0 = 11.9560677334591; %[1:100]
% l2 = 868.234961755542; %[1:1000]
% a_ks = [-0.913896567489805,-0.810261969390445,-0.422672700921023;-0.773928252931969,-0.361619465367881,-0.177879139876683;-0.777924122264101,-0.382036228803866,0.905615805916168;
0.229524107564833,0.394946567682202,0.935038850388764;0.535072020144214,0.899747236052216,0.931111451425247];
% a_cs = [-0.909039044387363,-0.778873713173897,-0.374680973382311;-0.760482140097871,-0.586185865079997,-0.0465314259503577;-0.410535020852223,0.0498287545782999,0.934688746187930;
0.155095405571576,0.385341428516406,0.934664179179562;0.117689703735145,0.667028409753918,0.940737855689643];
MATLAB Command History Page 68
May 7, 2019 3:46:17 PM
% a_v = [0.824075546020548,3.73508436481782,6.27810925892297;1.14963865009847,3.42813258034903,8.38975258642237;3.08156413016454,6.63650613917525,19.8924901900451;
1.79328024770914,13.9678825020215,18.8788586306687;14.3602763361050,17.7385926821352,19.6866696052026];
% b_ks = [-2482.18727930770,-330.541066005408,-30.9931483953687,673.226926671120,1905.86759814742];
% b_cs = [-44.9508103700981,-17.3321828723973,108.023607165193,159.196550053602,226.955684544160];
% b_v = [-58.6034163000970,-31.2329243772538,-26.2963224707570,-13.7005777939359,31.8883778369306];
% %--- test 5:(2) fuzzy, DO, adaptive, rho_ad(t)---
% alfa = 0.911290258514504;
% PHI = 1;
% eps = 0.00001;
% a1 = 98.2994054387935; %[1:1000]
% a2 = 11.3912445955835; %[1:100]
% om0 = 20.5275741273146; %[-350:350]
% k0 = 3.19385799404128; %[1:100]
% l2 = 805.084697669284; %[1:1000]
% a_ks = [-0.964038271779661,-0.855844820367769,-0.415537291557998;-0.891474497543546,-0.621430133831117,0.0881202697497049;-0.972494304869310,-0.217852023178333,0.998832783357451;
0.116578364465014,0.328557580399482,0.831364101503458;0.474756956627304,0.601391455436352,0.932299643657357];
% a_cs = [-0.909511678355089,-0.600513264289541,-0.445343438415142;-0.850326484222123,-0.503422326195107,-0.291304200513736;-0.736258329552357,-0.255254817745895,0.451692033224452;
-0.0956200255046951,0.363755454218394,0.849243514112580;0.297010159366567,0.792522924020751,0.903705173253031];
% a_v = [0.632847496138695,3.61059363850071,6.28533294401274;1.23275288785036,3.38829399900567,19.5649921530789;2.54682991322493,9.28488382960306,16.1065354886895;
7.89217790266828,15.7709379541951,19.1531283049365;13.2464924314403,17.7920132135942,19.0343755650281];
% b_ks = [4.96167629922263,185.064046718791,224.983590533434,695.599202326821,2686.27334159526];
% b_cs = [-197.971778417411,-192.568497464081,-140.043901446571,2.96818613448369,66.9466707482322];
% b_v = [-17.0203356084492,-1.67641449915854,23.9632623822596,33.0180510680314,67.9717136468936];
% %--- test 5:(3) fuzzy, DO, adaptive, rho_ad(t)---
alfa = 0.840080220875599;
PHI = 1;
eps = 0.00001;
a1 = 87.1790710662921; %[1:1000]
a2 = 30.0127706062212; %[1:100]
om0 = 195.199856762208; %[-350:350]
k0 = 52.7149231640241; %[1:100]
l2 = 780.699568393096; %[1:1000]
a_ks = [-0.977665462942268,-0.654124870074655,-0.285599845505562;-0.913084740140048,-0.344841670908060,0.0110471596190468;-0.648776064473591,0.0754787651336873,0.897007627740067;
0.284047512694711,0.387735765871282,0.868558466823592;0.341778591647107,0.633706406712160,0.967128256684583];
a_cs = [-0.949778142906489,-0.815226158835317,-0.582720878650164;-0.997639713461401,-0.621381356386667,-0.234828555679164;-0.926037292139055,-0.395108955280334,0.901085640078752;
0.286530004912562,0.418054153824551,0.805139949350492;0.365399520697793,0.868149960571999,0.978444825113538];
a_v = [0.304883668339941,2.97014150581628,7.07493872181743;2.13594687640650,5.05667853266149,18.2172175712776;0.401730290445440,8.00185752023321,16.5745888097509;
3.50577189542485,13.0877332537229,19.8593849944045;13.4033854531989,18.8873199096827,19.3813157386389];
b_ks = [-2695.39092675439,-939.672531746312,961.515588821945,2210.29756706539,2467.48473866833];
b_cs = [-201.954714688118,-50.8492667369703,53.6278586055087,194.457163986525,249.521721113368];
b_v = [-60.9794122220985,-12.2605886638138,40.3320551469500,58.5557398820459,60.9600792388574];
load('luu_test5_road5.mat')
alfa = xval(1);
a1 = xval(2);
a2 = xval(3);
om0 = xval(4);
k0 = xval(5);
l2 = xval(6);
a_ks = sort(vec2mat(xval(7:21),3),2);
a_cs = sort(vec2mat(xval(22:36),3),2);
a_v = sort(vec2mat(xval(37:51),3),2);
b_ks = sort(xval(52:56));
b_cs = sort(xval(57:61));
b_v = sort(xval(62:66));
figure;plot(x2dot)
clear all;
%%
% d(t) la ma tran [1,1]
%% Quarter car suspension parameters
ms0 = 350;
ks0 = 13500;
cs0 = 1250;
ms = 390;%11600; % chassis mass (kg)
ks1 = 14500;%6050000; % (N/m)
ks2 = 160000; % (N/m^3)
cs1 = 1385;%53900;%+10000; % (Ns/m)
cs2 = 524; % (Ns^2/m^2)
deltaT = 1; % Simulation time step
%% Road track parameters
v0 = 10; % Car velocity (m/s)
%% Controller's parameters
% ========================================================================
%--- test 1: Non fuzzy, Non DO, Non adaptive ---
% alfa = 0.8;
% PHI = 1;
% eps = 0.00001;
% a1 = 7.986;
% a2 = 1;
% rho = 1;
% ========================================================================
%--- test 2: Non fuzzy, Non DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.860319003332432;%0.8;
% PHI = 1;
% eps = 0.00001;
% a1 = 7.29671443237562;%17.986; %[1:1000]
% a2 = 31.0910725400231;%1.5; %[1:100]
% om0 = 1.00877010240269;%50; %[1:100]
% k0 = 1.00737100496601;%8; %[1:100]
% ========================================================================
%--- test 3: Non fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.903939427492506;%0.8;
% PHI = 1;
% eps = 0.00001;
% a1 = 99.9999064998740;%1000; %[1:1000]
% a2 = 5.79880041558778;%100; %[1:100]
% om0 = 17.2650956350313;%100; %[1:100]
% k0 = 10.3014247024466;%100; %[1:100]
% l2 = 999.976462438817;%1000; %[1:1000]
% ========================================================================
%--- test 4_2: fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.861122351620850;
% PHI = 1;
% eps = 0.00001;
% a1 = 17.8051334428289; %[1:1000]
% a2 = 4.15358762147605; %[1:100]
% om0 = 39.3843577627403; %[1:100]
% k0 = 86.8262524222660; %[1:100]
% l2 = 702.476609911729; %[1:1000]
% a_ks = [-0.961333833670403,-0.899330803307806,-0.203641573649615;-0.714587210318562,-0.603776949561476,-0.0519421171400566;-0.569401535919983,-0.154732666542345,0.460515085255760;
-0.0369634433082456,0.511765121542169,0.920910287034163;0.496740417632112,0.805139098955115,0.967740436059881];
% a_cs = [-0.964478709339200,-0.703798450742280,-0.202268870219115;-0.846373670477416,-0.439204115799397,-0.134488848135273;-0.434917577984332,0.298947008155214,0.709230916791695;
0.0364888173167297,0.589560571026918,0.909128421524052;0.307327526029337,0.730196130188434,0.947516426147854];
% a_v = [0.328785173988373,2.39593998531366,8.88322805855561;2.48709144872506,5.12061363616383,11.6815068561810;0.614371040457829,9.70927511772269,15.0725582269162;
8.39850167206166,14.4186070019695,19.9958790809412;15.3373277074801,18.5401718582444,19.4919540118303];
% b_ks = [1.140838867648064e+03,1.563325184283469e+03,1.758974301114079e+03,1.924089934055805e+03,2.051296327176498e+03];
% b_cs = [-2.498011749318166e+02,-2.211457657563566e+02,-2.200934113180452e+02,-1.331636142939386e+02,35.590617737909355];
% b_v = [-14.033809303187045,-12.805152377743184,-4.217941212324154,3.362846124008737,10.451969690448408];
%--- test 4_3: fuzzy, DO, adaptive (rho_ad(t) and om(t) = om0) ---
% alfa = 0.874416474647554;
% PHI = 1;
% eps = 0.00001;
% a1 = 28.1392941024985; %[1:1000]
% a2 = 10.7845176650621; %[1:100]
MATLAB Command History Page 69
May 7, 2019 3:46:17 PM
load('road3_test5_3.mat')
figure;plot(x2dot)
clear
clc
load('luu_test5_road5.mat')
alfa = xval(1);
a1 = xval(2);
a2 = xval(3);
om0 = xval(4);
k0 = xval(5);
l2 = xval(6);
a_ks = sort(vec2mat(xval(7:21),3),2);
a_cs = sort(vec2mat(xval(22:36),3),2);
a_v = sort(vec2mat(xval(37:51),3),2);
b_ks = sort(xval(52:56));
b_cs = sort(xval(57:61));
b_v = sort(xval(62:66));
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(zr)
Parameter
figure;plot(x2dot)
figure;plot(zr)
figure;plot(u)
figure;plot(us)
figure;plot(uc)
figure;plot(es_ms)
figure;plot(mst)
figure;plot(es.ms.time,es_ms.data+ms0)
figure;plot(es_ms.time,es_ms.data+ms0)
figure;plot(es_d)
figure;plot(dt)
figure;plot(vt)
figure;plot(x1)
figure;plot(x2)
Parameter
figure;plot(zr)
Parameter
figure;plot(x2)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(u)
load('FD_FC_FSMC_road1.mat')
figure;plot(u)
figure;plot(x2dot)
figure;plot(diff(x2dot.data))
figure;plot(x2)
figure;plot(x1)
figure;plot(x2dot)
figure;plot(u)
clear
clc
Parameter
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
MATLAB Command History Page 71
May 7, 2019 3:46:17 PM
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(zr_dot)
figure;plot(x2)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
a=1
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x1)
Parameter
a=1
figure;plot(x2dot)
Main_skyhook
figure;plot(x2dot)
a=500;
figure;plot(x2dot)
a=1
figure;plot(x2dot)
figure;plot(u)
a=500
figure;plot(x2dot)
figure;plot(u)
a=5
figure;plot(x2dot)
figure;plot(u)
Main_skyhook
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
%-- 12/03/2019 8:27 AM --%
Parameter2
figure;plot(x2dot)
Parameter2
load('FD_FC_FSMC_road1.mat')
clear
load('FD_FC_FSMC_road1.mat')
figure;plot(zr)
Parameter
figure;plot(x2dot)
load('FD_FC_FSMC_road1.mat')
hold on
plot(x2dot,'r')
Parameter
figure;plot(zr)
figure;plot(vt)
figure;plot(x2dot)
load('FD_FC_FSMC_road2.mat')
hold on
plot(x2dot,'r')
Parameter
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
figure;plot(u)
figure;plot(uz)
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
clear
clc
Main_SARC
figure;plot(x2dot)
figure;plot(x1)
figure;plot(x2)
figure;plot(uz)
Main_SARC
figure;plot(Fsd)
figure;plot(x2dot)
figure;plot(uz)
figure;plot(u)
clear
clc
Parameter2
figure;plot(u)
Parameter2
figure;plot(u)
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
%-- 13/03/2019 12:03 PM --%
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
0.001*0.3
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
Parameter2
MATLAB Command History Page 72
May 7, 2019 3:46:17 PM
figure;plot(x2dot)
r1
Parameter2
figure;plot(x2dot)
Parameter2
v0 = 10; % Car velocity (m/s)
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(x2dot)
Parameter2
figure;plot(uza)
figure;plot(u)
figure;plot(ngúy)
figure;plot(nguy1)
figure;plot(x2dot)
figure;plot(e2)
Main_SARC
r0 = xval(1);
k1 = xval(2);
k2 = xval(3);
k01 = xval(4);
ka1 = xval(5);
kl = xval(6);
figure;plot(x2dot)
Main_SARC
figure;plot(x2dot)
eps1 = 1; % eps1 > 0
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(uzs)
Parameter
figure;plot(uzs)
figure;plot(x2dot)
figure;plot(u)
%-- 13/03/2019 9:31 PM --%
Parameter
figure;plot(x2dot)
figure;plot(u)
figure;plot(uzs)
figure;plot(uza)
Parameter
figure;plot(u)
figure;plot(uzs)
Parameter
figure;plot(uzs)
figure;plot(u)
Parameter
figure;plot(uzs)
figure;plot(u)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(x2dot)
clear
clc
Lb = [0.1 0.1 0.1 0.1 0.1 0.1 0.1 0.1]; % can duoi cua bien thiet ke
Ub = [1000 1000 1000 1000 1000 1000 1000 1000]; % can tren cua bien thiet ke
%-- 14/03/2019 9:50 AM --%
Main_SARC
a=0;
if a
fprintf('false');
end
if a
fprintf('true');
else
fprintf('false');
end
a=1;
if a
fprintf('true');
else
fprintf('false');
end
a=0.1;
if a
fprintf('true');
else
fprintf('false');
end
a=-1;
if a
MATLAB Command History Page 73
May 7, 2019 3:46:17 PM
fprintf('true')
else
fprintf('false')
end
a=-1;
if a
fprintf('true \n')
else
fprintf('false \n')
end
a=-0.1;
if a
fprintf('true \n')
else
fprintf('false \n')
end
a=0;
if a
fprintf('true \n')
else
fprintf('false \n')
end
a=0.1;
if a
fprintf('true \n')
else
fprintf('false \n')
end
a=1;
if a
fprintf('true \n')
else
fprintf('false \n')
end
fprintf('false \n')
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
figure;plot(u)
Main_SARC
Parameter
figure;plot(u)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Main_SARC
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(x2dot)
figure;plot(u)
figure;plot(uza)
figure;plot(uzs)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(x2dot)
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(x2dot)
Parameter
MATLAB Command History Page 74
May 7, 2019 3:46:17 PM
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(u)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(u)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(u)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
clear
clc
Lb = [0.00001 0.001 1 0.1 0.001]; % can duoi cua bien thiet ke
Ub = [0.001 10 50000 500 10]; % can tren cua bien thiet ke
Main_SARC
%-- 14/03/2019 2:00 PM --%
A = magic(3)
b = [3;5;6];
Diagonal_solving(A,b)
b=[1,2,3];
Diagonal_solving(A,b)
[0 2 4;0 10 3; 0 1 1]
c = A(1,:)
A(1,:) = b
A = magic(8);
A = magic(4);
sum(A(2,1),A(2,3))
sum(A(2,1))
sum(A(2,:))
5+11+10+8
tril(3)
A = magic(3);
B = tril(A)
n = length(A);
tail = zeros(n,1);
x = zeros(n,1);
x(1,1) = b(1,1)/A(1,1);
B = magic(3)
A = tril(B)
n = length(A);
tail = zeros(n,1);
x = zeros(n,1);
x(1,1) = b(1,1)/A(1,1);
MATLAB Command History Page 75
May 7, 2019 3:46:17 PM
for i = 2:n
for k = 1:i-1
tail(i,1) = sum(a(i,:)*x(i,1))
end
tail(i,1) = tail(i-1,1) + A(i-1,k)*x(i-1);
x(i,1) = (b(i,1) - tail(i,1))/A(i,i);
end
for i = 2:n
for k = 1:i-1
tail(i,1) = sum(A(i,:)*x(i,1));
end
tail(i,1) = tail(i-1,1) + A(i-1,k)*x(i-1);
x(i,1) = (b(i,1) - tail(i,1))/A(i,i);
end
tail = zeros(n,1);
x = zeros(n,1);
x(1,1) = b(1,1)/A(1,1);
for i = 2:n
for k = 2:i-1
tail(i,1) = sum(A(i,:)*x(i,1));
end
tail(i,1) = tail(i-1,1) + A(i-1,k)*x(i-1);
x(i,1) = (b(i,1) - tail(i,1))/A(i,i);
end
clear
clc
B = magic(3)
A = tril(B)
n = length(A);
tail = zeros(n,1);
x = zeros(n,1);
x(1,1) = b(1,1)/A(1,1)
b = [1;2;3];
x(1,1) = b(1,1)/A(1,1)
for i = 2:n
tail(i,1) = sum(A(i,:)*x(i,1));
x(i,1) = (b(i,1) - tail(i,1))/A(i,i);
end
tail = zeros(n,1);
x = zeros(n,1);
x(1,1) = b(1,1)/A(1,1);
for i = 2:n
tail(i,1) = sum(A(i,:)*x(i,1));
x(i,1) = (b(i,1) - tail(i,1))/A(i,i);
end
B = magic(10)
A = tril(B)
n = length(A);
tail = zeros(n,1);
x = zeros(n,1);
x(1,1) = b(1,1)/A(1,1);
for i = 2:n
tail(i,1) = sum(A(i,:)*x(i,1));
x(i,1) = (b(i,1) - tail(i,1))/A(i,i);
end
tail = zeros(n,1);
x = zeros(n,1);
x(1,1) = b(1,1)/A(1,1);
for i = 2:n
tail(i,1) = sum(A(i,:)*x(i,1))
x(i,1) = (b(i,1) - tail(i,1))/A(i,i)
end
b = [1;2;3;4;5;6;7;8;9;10];
clear i
tail = zeros(n,1);
x = zeros(n,1);
x(1,1) = b(1,1)/A(1,1);
for i = 2:n
tail(i,1) = sum(A(i,:)*x(i,1))
x(i,1) = (b(i,1) - tail(i,1))/A(i,i)
end
A(2,:)*x(2,:)
sum(ans)
tail = zeros(n,1);
x = zeros(n,1);
x(1,1) = b(1,1)/A(1,1);
for i = 2:n
tail(i,1) = sum(A(i,:)*x(i,:))
x(i,1) = (b(i,1) - tail(i,1))/A(i,i)
end
tail = zeros(n,1);
x = zeros(n,1);
x(1,1) = b(1,1)/A(1,1);
for i = 2:n
tail(i,1) = A(i,:)*x(:,1)
x(i,1) = (b(i,1) - tail(i,1))/A(i,i)
end
Parameter
figure;plot(x2dot)
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Main_SARC
Parameter
figure;plot(x2dot)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
%-- 14/03/2019 9:58 PM --%
B = magic(10)
A = triu(B)
A = tril(B)
A = diag(B)
A = diag(B,10)
A = diag(B,1)
A = diag(B,2)
A = isdiag(B)
A = diag(B)
A = diag(B)*I(10)
ones(10)
A = diag(B)*ones(10)
A = ones(10)*diag(B)
clear
clc
A = magic(3)
norm2(A)
norm(A,1)
norm(A,2)
norm(A)
norm(A,inf)
norm_2(A)
load('luu_SARC1.mat')
Parameter
MATLAB Command History Page 76
May 7, 2019 3:46:17 PM
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
load('luu_SARC2.mat')
Parameter
figure;plot(x2dot)
norm(x2dot.data)
var(x2dot.data)
norm(x2dot.data,2)
norm(x2dot.data,5)
norm(x2dot.data,if)
norm(x2dot.data,inf)
var(x2dot.data)
norm(x2dot.data-mean(x2dot.data),inf)
norm(x2dot.data-mean(x2dot.data))
norm_inf(A)
A = magic(10)
norm(A,inf)
norm_inf(A)
norm(A)
norm(A,1)
norm(A,3)
norm(A,fro)
b = [1;2;3;4;5;6;7;8;9;10];
norm(b)
norm(b,1)
norm(b,2)
norm(b,3)
norm(b,4)
norm(b,inf)
norm(b,fro)
norm(b,for)
S = sparse(1:25,1:25,1)
n = norm(S,'fro')
X = [2 0 1;-1 1 0;-3 3 0]
norm_inf(X)
norm(X)
norm_2(X)
norm(A)
norm_2(A)
norm_2(b)
norm(b)
norm_2(X)
norm(X)
sqrt(trace(X*X))
sqrt(trace(A*A))
sum(sum(abs(A(i,j))^2))
sum(sum(abs(A)^2))
sqrt(sum(sum(abs(A)^2)))
sqrt(sum(sum(abs(A).^2)))
norm_2(A)
sqrt(sum(sum(abs(A).^2)))
norm_2(A)
sum(A)
sum(A,1)
sum(A,2)
max(sum(A,2))
max(sum(X,2))
norm(X,inf)
max(sum(X,1))
norm_inf(X)
norm(X,inf)
sum(X,1)
%-- 15/03/2019 7:01 AM --%
A = magic(3)
L = tril(A)
C = inv(L)
A = [2 -1 0 0 0;
-1 2 -1 0 0;
0 -1 2 -1 0;
0 0 -1 2 -1;
0 0 0 -1 2];
y = check_SDD(A)
example
A = 2*diag(ones(n,1),0) + (-1)*diag(ones(n-1,1),-1) + (-1)*diag(ones(n-1,1),1)
n = 50;
A = 2*diag(ones(n,1),0) + (-1)*diag(ones(n-1,1),-1) + (-1)*diag(ones(n-1,1),1)
A = sparse(2*diag(ones(n,1),0) + (-1)*diag(ones(n-1,1),-1) + (-1)*diag(ones(n-1,1),1))
y1 = check_SDD(A)
inv(A)
inv(A)*A
A*inv(A)
n = 50;
A = sparse(2*diag(ones(n,1),0) + (-1)*diag(ones(n-1,1),-1) + (-1)*diag(ones(n-1,1),1))
y1 = check_SDD(A)
A
size(A)
A = [2 -1 0;-1 2 -1;0 -1 2];
A = [2 -1 0 0;-1 2 -1 0;0 -1 2 1];
y = check_SPD(A)
example
y = check_SPD(A)
%-- 15/03/2019 10:07 AM --%
A = [2 1;2 1.01];
inv(A)
norm(A)*norm(inv(A))
norm(A)
norm(A,inf)
norm(inv(A),inf)
norm(A,inf)*norm(inv(A),inf)
A = [401 -201;-800 401]
norm(A,inf)*norm(inv(A),inf)
A = [2 -1 0;-1 2 -1;0 -1 2]
norm(A,inf)*norm(inv(A),inf)
inf(A)
inf(A(1,:))
n = 50;
A = sparse(2*diag(ones(n,1),0) + (-1)*diag(ones(n-1,1),-1) + (-1)*diag(ones(n-1,1),1))
norm(A,inf)*norm(inv(A),inf)
A = [2 -1 0;-1 2 -1;0 -1 2]
inv(A)
norm(A,inf)
norm(inv(A),inf)
n = 50;
for i = 1:n
A = sparse(2*diag(ones(n,1),0) + (-1)*diag(ones(n-1,1),-1) + (-1)*diag(ones(n-1,1),1));
v(i) = norm(A,inf)*norm(inv(A),inf);
end
norm(A,inf)*norm(inv(A),inf)
MATLAB Command History Page 77
May 7, 2019 3:46:17 PM
norm_inf(A)
norm_2(A)
norm(A,2)
norm_2(A)
%-- 16/03/2019 10:48 AM --%
Parameter
load('luu_SARC3.mat')
r0 = xval(1);
k1 = xval(2);
k2 = xval(3);
k01 = xval(4);
ka1 = xval(5);
sim('SARC')
figure;plot(x2dot)
clear
clc
load('FD_FC_FSMC_road1.mat')
clear
clc
7.057334707234280e+02
clear
clc
Untitled3
pretty([1.54667598168015,0.370390716525326;0.362162927956204,0.00916663799738471;0.106529887683441,0.0202557400243663])
[1.546675981680147,0.370390716525326;0.362162927956204,0.009166637997385;0.106529887683441,0.020255740024366]
Untitled3
Untitled4
Untitled3
Untitled4
Untitled3
Untitled4
Untitled
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(u)
Parameter
figure;plot(x2dot)
Untitled
Parameter
figure;plot(x2dot)
Untitled
Untitled3
Untitled4
Untitled3
Untitled4
Untitled3
Untitled4
figure;plot(x1)
%-- 17/03/2019 6:09 AM --%
load('FD_FC_FSMC_road1.mat')
figure;plot(zr)
xlabel('Time (s)','FontName','Times New Roman','FontSize',13);
ylabel('$\z_r$ $(m)$','interpreter','latex','FontName','Times New Roman','FontSize',13)
ylabel('$z_r$ $(m)$','interpreter','latex','FontName','Times New Roman','FontSize',13)
load('FD_FC_FSMC_road2.mat')
figure;plot(zr)
xlabel('Time (s)','FontName','Times New Roman','FontSize',13);
ylabel('$z_r$ $(m)$','interpreter','latex','FontName','Times New Roman','FontSize',13)
load('FD_FC_FSMC_road3.mat')
figure;plot(zr)
xlabel('Time (s)','FontName','Times New Roman','FontSize',13);
ylabel('$z_r$ $(m)$','interpreter','latex','FontName','Times New Roman','FontSize',13)
grid on
Untitled3
Untitled4
clear
clc
Untitled3
Untitled4
load('FD_FC_FSMC_road1.mat')
a = a_ks;b = b_ks;
Plot_membership_function
max(a_cs)
min(a_cs)
Plot_membership_function
%-- 17/03/2019 9:28 AM --%
legend('A1','A2','A3','A4','A5','interpreter','latex');
legend('A_k^1','A2','A3','A4','A5','interpreter','latex');
Plot_membership_function
load('FD_FC_FSMC_road1.mat')
Plot_membership_function
a = a_cs; b = b_cs
a = a_ks; b = b_ks;
Plot_membership_function
a=a_cs;b=b_cs;
Plot_membership_function
a=a_v;b=b_v;
Plot_membership_function
%% Disturbance
figure;
subplot(2,1,1);
plot(dt,'LineWidth',1.5);
xlabel('Time (s)','FontName','Times New Roman','FontSize',13);
ylabel('$d(t)$ $(N)$','interpreter','latex','FontName','Times','FontSize',13);
%% Velocity
subplot(2,1,2);
plot(vt,'LineWidth',1.5);
xlabel('Time (s)','FontName','Times New Roman','FontSize',13);
ylabel('$v(t)$ $(m/s)$','interpreter','latex','FontName','Times','FontSize',13);
figure;plot(rho_ad)
figure;plot(mst)
%% Disturbance
figure;
subplot(3,1,1);
plot(dt,'LineWidth',1.5);
xlabel('Time (s)','FontName','Times New Roman','FontSize',13);
ylabel('$d(t)$ $(N)$','interpreter','latex','FontName','Times','FontSize',13);
grid on;
%% ms(t)
subplot(3,1,2);
plot(mst.time,mst.data,'LineWidth',1.5);
xlabel('time $(s)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
ylabel('$m_s(t)$ $(kg)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
grid on;
%% Velocity
subplot(3,1,3);
plot(vt,'LineWidth',1.5);
xlabel('Time (s)','FontName','Times New Roman','FontSize',13);
ylabel('$v(t)$ $(m/s)$','interpreter','latex','FontName','Times','FontSize',13);
figure
ax1 = subplot(2,2,1);
MATLAB Command History Page 79
May 7, 2019 3:46:17 PM
x1 = linspace(0,6);
y1 = sin(x1);
plot(x1,y1)
ax2 = subplot(2,2,2);
x2 = linspace(0,10);
y2 = sin(2*x2);
plot(x2,y2)
ax3 = subplot(2,2,[3,4]);
x3 = linspace(0,16);
y3 = sin(6*x3);
plot(x3,y3)
linkaxes([ax1,ax2,ax3],'x')
subplot(3,1,1);
plot(randn(100,1),randn(100,1),'x');
ylabel('QF')
subplot(3,1,2);
plot(randn(100,1),randn(100,1)*10,'x');
ylabel('HT');
subplot(3,1,3);
plot(randn(100,1),randn(100,1)*33,'x');
ylabel('DV');
samexaxis('abc','xmt','on','ytac','join','yld',1)
clc
Untitled2
Parameter
figure;polot(x2dot)
figure;plot(x2dot)
clear
clc
Parameter
figure;plot(zr)
Parameter
figure;plot(zr)
figure;plot(x2dot)
load('FD_FC_FSMC_road1.mat')
figure;plot(x2dot)
Untitled
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(S)
figure;plot(S_dot)
%-- 17/03/2019 10:59 PM --%
Untitled2
%-- 18/03/2019 9:14 AM --%
PSD
figure;
subplot(2,1,1);
plot(f1,psd1,'k-',f2,psd2,'m-',f3,psd3,'b:','LineWidth',1.5);
legend 'Passive' 'Skyhook' 'FD-FC-FSMC';
title('PSD','interpreter','latex','FontName','Times New Roman','FontSize',13);
xlabel('Freq (Hz)','FontName','Times New Roman','FontSize',13);
ylabel('Power/frequency $(dB/Hz)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
grid on;
subplot(2,1,2)
plot(f1,psd1,'k-',f2,psd2,'m-',f3,psd3,'b:','LineWidth',1.5);
figure;
subplot(2,1,2);
plot(f1,psd1,'k-',f2,psd2,'m-',f3,psd3,'b:','LineWidth',1.5);
legend 'Passive' 'Skyhook' 'FD-FC-FSMC';
title('PSD','interpreter','latex','FontName','Times New Roman','FontSize',13);
xlabel('Freq (Hz)','FontName','Times New Roman','FontSize',13);
ylabel('Power/frequency $(dB/Hz)$','interpreter','latex','FontName','Times New Roman','FontSize',13);
grid on;
subplot(2,1,1)
plot(f1,psd1,'k-',f2,psd2,'m-',f3,psd3,'b:','LineWidth',1.5);
grid on;
PSD
%-- 18/03/2019 12:21 PM --%
0.1/2
%-- 18/03/2019 2:39 PM --%
PSD
figure;
plot(f3,psd3);
xlabel 'Frequency (Hz)';
ylabel 'Power/frequency (dB/Hz)';
title 'FD-FC-FSMC'
PSD
93.11-81.84
94.53-81.72
Parameter
Untitled
Parameter
Untitled
%-- 20/03/2019 10:54 AM --%
load count.dat
Z = count(1:10,:)
figure
bar3(Z,'grouped')
bar3([1 3],[7.5 6 4;5.2 3 5],[7.5 6 4;5.2 3 5],0.4)
bar3([1 3],[7.5 6 4;5.2 3 5],0.4)
a=[];
bar3(a)
a=[]
b=[];
bar3([1 2 3],[a],[b])
bar3([1 2 3],[a],[b],'grouped')
figure;bar3([1 2 3],[a],'grouped')
figure;bar3([1 2 3],[a;b],'grouped')
figure;bar3([1 2 3],[a,b],'grouped')
figure;bar([1 2 3],[a])
figure;bar(['asd' 2 3],[a])
figure;bar([1 2 3],[a,b])
a = [1.546670000000000,0.280870000000000,0.106520000000000;3.214440000000000,1.040010000000000,0.407520000000000;3.027330000000000,1.559450000000000,0.736820000000000];
% mean value, row is road, column is controller
b = [0.370390000000000,0.067700000000000,0.020250000000000;0.807210000000000,0.230210000000000,0.057940000000000;0.581710000000000,0.187440000000000,0.042140000000000];
figure;bar([1 2 3],[a,b]);
ylabel('$(m/s^2)$','interpreter','latex','FontName','Times','FontSize',13);
legend 'Passive' 'Skyhook' 'FD-FC-FSMC';
legend('$A_a$ of Passive','$A_a$ of Skyhook','$A_a$ of FD-FC-FSMC','$M_a$ of Passive','$M_a$ of Skyhook','$M_a$ of FD-FC-FSMC','interpreter','latex','FontName','Times','FontSize',13);
legend('$A_a$ of Passive','$A_a$ of Skyhook','$A_a$ of FD-FC-FSMC','$M_a$ of Passive','$M_a$ of Skyhook','$M_a$ of FD-FC-FSMC','interpreter','latex');
legend('A_a of Passive','A_a of Skyhook','A_a of FD-FC-FSMC','M_a of Passive','M_a of Skyhook','M_a of FD-FC-FSMC','Times','FontSize',13);
legend('A_a of Passive','A_a of Skyhook','A_a of FD-FC-FSMC','M_a of Passive','M_a of Skyhook','M_a of FD-FC-FSMC','FontName','Times','FontSize',13);
legend('A_a of Passive','A_a of Skyhook','A_a of FD-FC-FSMC','M_a of Passive','M_a of Skyhook','M_a of FD-FC-FSMC');
bar3([a])
bar([a])
bar([a,b])
['as' 'a']
['as','a']
['as';'a']
pareto(bar([a,b]))
pareto(a)
MATLAB Command History Page 80
May 7, 2019 3:46:17 PM
pareto([a])
pareto([a,b])
bar(SelfAssessedHealthStatus,[a,b])
SelfAssessedHealthStatus = categorical(SelfAssessedHealthStatus,{'Poor' 'Fair' 'Good' 'Excellent'},'Ordinal',true);
bar(SelfAssessedHealthStatus,[a,b])
SelfAssessedHealthStatus = categorical([1 2 3],{'Poor' 'Fair' 'Good' 'Excellent'},'Ordinal',true);
hold on
pareto
pareto([87 98],1)
pareto([87 98])
pareto()
yyaxis right
yyaxis(right,[0:100])
plot(1,[87 98])
plot([1 1.25],[87 98])
%-- 23/03/2019 1:30 PM --%
example_parallel
example2
clear
clc
peaks
example2
labindex
example2
%-- 27/03/2019 6:57 PM --%
Example_1
Homework1
(u(2)-u(1))/dx
2*0.001*exp(0.001^2)
ans/dx
2*exp(1)
2*0.999*exp(0.999^2)
ans-5.4366
ans/dx
Homework1
clear
clc
Homework2
A = sparse(diag(-2*ones(n,1),0) + (-1)*diag(ones(n-1,1),-1) + (-1)*diag(ones(n-1,1),1))
A = sparse(diag(-2*ones(N,1),0) + (-1)*diag(ones(N-1,1),-1) + (-1)*diagA = sparse(diag(-2*ones(N,1),0) + (-1)*diag(ones(N-1,1),-1) + (-1)*diag(ones(N-1,1),1));ones(N-1,1),1))
A = sparse(diag(-2*ones(N,1),0) + (-1)*diag(ones(N-1,1),-1) + (-1)*diag(ones(N-1,1),1));
A
A = sparse(diag(-2*ones(N,1),0) + diag(ones(N-1,1),-1) + diag(ones(N-1,1),1))
A = sparse(diag(-2*ones(N,1),0) + diag(ones(N-1,1),-1) + diag(ones(N-1,1),1));
A(1,1) = 1; A(N+1,N+1) = 1;
A(1,2) = 0; A(N+1,N) = 0;
A = -1/(dx^2)*A;
f = f(x) = pi^2*sin(pi*x);
f = pi^2*sin(pi*x);
Homework2
plot(x,estimate_u)
Homework2
estimate_u(1:j)
j = 10;
estimate_u(1:j)
norm(estimate_u(1:j),inf)
Homework2
disp('asdasd %d',dx)
disp('asdasd %d')
disp('asdasd %d\n asd')
fprintf('asdasd %d',dx)
Homework2
Homework2b
Homework2a
Homework2b
clear
clc
%-- 29/03/2019 7:28 AM --%
clear
clc
example_29_3_2019
A
example_29_3_2019
estimate_u
example_29_3_2019
Homework2a
example_29_3_2019
Homework2a
Homework2b
example_29_3_2019
example_2
A
example_2
A
example_2
U
example_2
u_exact
example_2
mesh(x,t,exp(-pi^2*t)*sin(pi*x))
mesh(x,t,exp(-pi^2*t).*sin(pi*x))
mesh
mesh(x,t,exp(-pi^2*t')*sin(pi*x))
example_2
A
example_2
A
size(A)
size(U0)
example_2
A
size(U0)
size(A)
example_2
U0
example_2
size(A)
size(U0)
example_2
U0
A
example_2
U = A*U0
u = A*U
example_2
mesh(x,t,U)
mesh(x,t,U')
mesh(t,x,U)
example_2
mesh(x,t,U')
mesh(x,t,U)
mesh(t,x,U)
mesh(t,x,U')
MATLAB Command History Page 81
May 7, 2019 3:46:17 PM
size(U)
size(x)
mesh(x(2:N-1),t,U)
x2 = x(2:N)
mesh(x(2:N),t,U)
mesh(x(2:N),t,U')
example_2
%-- 29/03/2019 12:21 PM --%
example_2
U0
U0 = sin(pi*x);%U0 = U0(2:N)';
alpha = 1;
c = alpha*dt/(dx^2);
A = sparse(diag((1-2*c)*ones(N-1,1),0) + c*diag(ones(N-2,1),-1) + c*diag(ones(N-2,1),1));
A(1,1) = 1; A(1,2) = 0;
A(2,1) = 0; A(N,N+1) = 0;
A(N+1,N) = 0; A(N+1,N+1) = 1;
U = zeros(N+1,M+1);
U0
size(A)
size(U)
size(U0)
U0 = sin(pi*x)';%U0 = U0(2:N)';
alpha = 1;
c = alpha*dt/(dx^2);
A = sparse(diag((1-2*c)*ones(N-1,1),0) + c*diag(ones(N-2,1),-1) + c*diag(ones(N-2,1),1));
A(1,1) = 1; A(1,2) = 0;
A(2,1) = 0; A(N,N+1) = 0;
A(N+1,N) = 0; A(N+1,N+1) = 1;
U = zeros(N+1,M+1);
size(U0)
for j=1:M+1
U0 = A*U0;
U(:,j) = U0;
end
U
example_2
U0
example_2
U0
example_2
x
t
U
figure; mesh(x,t,U)
example_2
u_exact
example_2
U'-uexact
U'-u_exact
example_2
j = 5;
err(j) = norm(U(:,j)'-u_exact(j,:),inf);
example_2
%-- 29/03/2019 1:05 PM --%
example_2
Untitled3
size(x)
size(t)
size(exact_sol)
Untitled3
t
x
t*x
t*x'
exact_sol =exp(-8*t)*sin(2*x')
Untitled3
implicit_scheme
Untitled3
implicit_scheme
Untitled3
implicit_scheme
Untitled3
implicit_scheme
Untitled3
err = [];
err(1) = norm(u'-exact_sol,inf);
Untitled3
err = [];
err(1) = norm(u'-exact_sol,inf);
err
Untitled3
implicit_scheme
Untitled3
u0 = @(x) sin(2*x);
u0(1,2)
u0(pi/2,0.11)
u0(pi/2)
Untitled3
implicit_scheme
Untitled3
err
E
[x,t,u,err] = implicit_scheme(alpha,T,N,M,a,b,u0,exact_sol)
i
clear all
alpha = 2;
T = 0.2;
N = 50;
M = 1000;
a = 0;
b = pi;
dx = (b-a)/N;
x = [a:dx:b]';
dt = T/M;
t = [0:dt:T]';
u0 = @(x) sin(2*x);
exact_sol = @(x,t) exp(-8*t)*sin(2*x');
[x,t,u,err] = implicit_scheme(alpha,T,N,M,a,b,u0,exact_sol)
Untitled3
abs(u'-exact_sol)
norm(ans,inf)
abs(u(4,:)'-exact_sol(:,4))
norm(ans,inf)
%-- 29/03/2019 5:12 PM --%
test
drive
implicitclear
example_3
A
example_3
inv(A)
B\A
MATLAB Command History Page 82
May 7, 2019 3:46:17 PM
U0\A
inv(A)*U0
U0
N = 5;
dx = 1/N;
x = [0:dx:pi];
%% t
M = 15;
dt = 0.1/M;
t = [0:dt:0.2];
%% U(x0,t0)
U0 = sin(2*x)';%U0 = U0(2:N)';
alpha = 2;
c = alpha*dt/(dx^2);
A = sparse(diag((1+2*c)*ones(N,1),0) - c*diag(ones(N-1,1),-1) - c*diag(ones(N-1,1),1));
A(1,1) = 1; A(1,2) = 0;
A(2,1) = 0; A(N,N+1) = 0;
A(N+1,N) = 0; A(N+1,N+1) = 1;
U = zeros(N+1,M+1);
u_exact = exp(-8*t')*sin(2*x);
clear
clc
N = 5;
dx = 1/N;
x = [0:dx:pi]';
%% t
M = 15;
dt = 0.1/M;
t = [0:dt:0.2]';
U0 = sin(2*x);%U0 = U0(2:N)';
alpha = 2;
c = alpha*dt/(dx^2);
A = sparse(diag((1+2*c)*ones(N,1),0) - c*diag(ones(N-1,1),-1) - c*diag(ones(N-1,1),1));
A(1,1) = 1; A(1,2) = 0;
A(2,1) = 0; A(N,N+1) = 0;
A(N+1,N) = 0; A(N+1,N+1) = 1;
example_2
clear all; close all; clc;
% du/dt - 2*ddu/ddx = 0;
% x = (0:pi)
% t = (0:0.2)
% u(x,0) = sin(2x)
% u(0,t) = u(pi,t) = 0
% u_exact = exp(-8t)sin(2x)
%% x
N = 5;
dx = 1/N;
x = [0:dx:pi]';
%% t
M = 15;
dt = 0.1/M;
t = [0:dt:0.2]';
%% U(x0,t0)
U0 = sin(2*x);%U0 = U0(2:N)';
alpha = 2;
c = alpha*dt/(dx^2);
A = sparse(diag((1+2*c)*ones(N,1),0) - c*diag(ones(N-1,1),-1) - c*diag(ones(N-1,1),1));
A(1,1) = 1; A(1,2) = 0;
A(2,1) = 0; A(N,N+1) = 0;
A(N+1,N) = 0; A(N+1,N+1) = 1;
U = zeros(N+1,M+1);
N = 5;
dx = pi/N;
x = [0:dx:pi]';
%% t
M = 15;
dt = 0.2/M;
t = [0:dt:0.2]';
%% U(x0,t0)
U0 = sin(2*x);%U0 = U0(2:N)';
alpha = 2;
c = alpha*dt/(dx^2);
A = sparse(diag((1+2*c)*ones(N,1),0) - c*diag(ones(N-1,1),-1) - c*diag(ones(N-1,1),1));
A(1,1) = 1; A(1,2) = 0;
A(2,1) = 0; A(N,N+1) = 0;
A(N+1,N) = 0; A(N+1,N+1) = 1;
U = zeros(N+1,M+1);
u_exact = exp(-8*t')*sin(2*x);
clear all; close all; clc;
% du/dt - 2*ddu/ddx = 0;
% x = (0:pi)
% t = (0:0.2)
% u(x,0) = sin(2x)
% u(0,t) = u(pi,t) = 0
% u_exact = exp(-8t)sin(2x)
%% x
N = 5;
dx = pi/N;
x = [0:dx:pi]';
%% t
M = 15;
dt = 0.2/M;
t = [0:dt:0.2]';
%% U(x0,t0)
U0 = sin(2*x);%U0 = U0(2:N)';
alpha = 2;
c = alpha*dt/(dx^2);
U0 = sin(2*x);%U0 = U0(2:N)';
alpha = 2;
c = alpha*dt/(dx^2);
A = sparse(diag((1+2*c)*ones(N,1),0) - c*diag(ones(N-1,1),-1) - c*diag(ones(N-1,1),1));
x
sin(2*x)
U0 = sin(2*x);%U0 = U0(2:N)';
A(1,1) = 1; A(1,2) = 0;
A(2,1) = 0; A(N,N+1) = 0;
A(N+1,N) = 0; A(N+1,N+1) = 1;
U = zeros(N+1,M+1);
z = inv(A)*U0
j=1
U(:,j) = U0;
u
U
example_3
exp(-8*t)
u_exact = exp(-8*t)*sin(2*x);
u_exact = exp(-8*t)*sin(2*x');
u_exact = exp(-8*t)*sin(2*x')
example_3
U
example_3
c
0.4*1000^2*8/(pi^2)
MATLAB Command History Page 83
May 7, 2019 3:46:17 PM
example_3
%-- 29/03/2019 7:40 PM --%
0.4*50^2*8/(pi^2)
example_3
0.4*50^2*2/(pi^2)
example_3
C
c
c-0.5
c-1/8
example_3
clear all; close all; clc;
%% x
N = 20;
dx = 1/N;
x = [0:dx:1]';
%% t
M = 200;
dt = 0.1/M;
t = [0:dt:0.1]';
%% U(x0,t0)
U0 = sin(pi*x)';%U0 = U0(2:N)';
U0 = sin(pi*x);%U0 = U0(2:N)';
alpha = 1;
c = alpha*dt/(dx^2);
A = sparse(diag((1-2*c)*ones(N,1),0) + c*diag(ones(N-1,1),-1) + c*diag(ones(N-1,1),1));
A(1,1) = 1; A(1,2) = 0;
A(2,1) = 0; A(N,N+1) = 0;
A(N+1,N) = 0; A(N+1,N+1) = 1;
U = zeros(N+1,M+1);
u_exact = exp(-pi^2*t')*sin(pi*x);
u_exact = exp(-pi^2*t)*sin(pi*x);
u_exact = exp(-pi^2*t)*sin(pi*x');
example_2
example_3
A = sparse(diag((1-c)*ones(N,1),0) - c/2*diag(ones(N-1,1),-1) - c/2*diag(ones(N-1,1),1));
A
clear
clc
% u(0,t) = u(1,t) = 0
% u_exact = exp(-pi^2*t)*sin(pi*x')
clear all; close all; clc;
%% x
N = 20;
dx = 1/N;
x = [0:dx:1]';
%% t
M = 200;
dt = 0.1/M;
t = [0:dt:0.1]';
%% U(x0,t0)
U0 = sin(pi*x);%U0 = U0(2:N)';
alpha = 1;
c = alpha*dt/(dx^2);
A = sparse(diag((1-2*c)*ones(N,1),0) + c*diag(ones(N-1,1),-1) + c*diag(ones(N-1,1),1));
example_2
example_3
%% Example 4: Crank - Niclson scheme
% du/dt - *ddu/ddx = 0;
% x = (0:1)
% t = (0:0.1)
% u(x,0) = sin(pi*x)
% u(0,t) = u(1,t) = 0
% u_exact = exp(-pi^2*t)*sin(pi*x')
clear all; close all; clc;
%% x
N = 20;
dx = 1/N;
x = [0:dx:1]';
%% t
M = 200;
dt = 0.1/M;
t = [0:dt:0.1]';
%% U(x0,t0)
U0 = sin(pi*x);
alpha = 1;
c = alpha*dt/(dx^2);
A = sparse(diag((1-c)*ones(N+1,1),0) - c/2*diag(ones(N,1),-1) - c/2*diag(ones(N,1),1));
A(1,1) = 1; A(1,2) = 0;
A(2,1) = 0; A(N,N+1) = 0;
A(N+1,N) = 0; A(N+1,N+1) = 1;
B = sparse(diag((1-c)*ones(N+1,1),0) + c/2*diag(ones(N,1),-1) + c/2*diag(ones(N,1),1));
B(1,1) = 1; B(1,2) = 0;
B(2,1) = 0; B(N,N+1) = 0;
B(N+1,N) = 0; B(N+1,N+1) = 1;
U = zeros(N+1,M+1);
u_exact = exp(-pi^2*t)*sin(pi*x');
A
B
U0
B*U0
A\ans
example_4
implicit_scheme
Untitled3
y = @(x,t) sin(2*pi*t)+5*x
y(1,2)
y
for i = 1:2*pi
p(i) = y(i,5);
end
p
y
y = @(x,t) exp(-pi^2*t)*sin(pi*x')
t = [0:dt:0.1]';
p = y([0:dx:1]',[0:dt:0.1]')
alpha = 2;
T = 0.2;
N = 50;
M = 1000;
a = 0;
b = pi;
clear all; close all; clc;
alpha = 2;
T = 0.2;
N = 50;
M = 1000;
a = 0;
b = pi;
U0 = @(x) sin(2*x)
exact_sol = @(x,t) exp(-8*t)*sin(2*x')
[x,t,U,err] = FTCS_scheme(alpha,a,b,T,N,M,U0,exact_sol)
dx = (b-a)/N;
MATLAB Command History Page 84
May 7, 2019 3:46:17 PM
x = [a:dx:b]';
%% t
dt = T/M;
t = [0:dt:T]';
c = alpha*dt/(dx^2);
A = sparse(diag((1-2*c)*ones(N+1,1),0) + c*diag(ones(N,1),-1) + c*diag(ones(N,1),1));
A(1,1) = 1; A(1,2) = 0;
A(2,1) = 0; A(N,N+1) = 0;
A(N+1,N) = 0; A(N+1,N+1) = 1;
U = zeros(N+1,M+1);
U(1,:) = 0;
U(end,:) = 0;
u_exact = exact_sol(x,t);
U0 = U0(x,t);
[x,t,U,err] = FTCS_scheme(alpha,a,b,T,N,M,U0,exact_sol)
x
err
plot(err)
plot(x)
mesh(x,t,U)
mesh(x,t,U')
[x,t,U,err] = BTCS_scheme(alpha,a,b,T,N,M,U0,exact_sol)
plot(err)
[x,t,U,err] = C_N_scheme(alpha,a,b,T,N,M,U0,exact_sol)
plot(err)
[x,t,U,err] = BTCS_scheme(alpha,a,b,T,N,M,U0,exact_sol)
plot(err)
FTCS_scheme(alpha,a,b,T,N,M,U0,exact_sol)
plot(err)
clear
clc
%% Example 1
% FTCS
% du/dt - alpha*ddu/ddx = 0;
% x = (0:1)
% t = (0:0.1)
% u(x,0) = sin(pi*x)
% u(0,t) = u(1,t) = 0
% u_exact = exp(-pi^2*t)*sin(pi*x')
a = 0;b = 1;T = 0.1;
alpha = 1;N = 20; M = 200;
U0 = @(x) sin(pi*x);
exact_sol = @(x,t) exp(-pi^2*t)*sin(pi*x');
[x,t,U,err] = FTCS_scheme(alpha,a,b,T,N,M,U0,exact_sol);
% Mesh approximated U
figure; subplot(2,2,1); mesh(x,t,U') % X(j), Y(i), Z(i,j)
xlabel('x');
ylabel('t');
zlabel('u(x,t)');
legend 'Approximate solution';
% Mesh exact U
subplot(2,2,2); mesh(x,t,u_exact)
xlabel('x');
ylabel('t');
zlabel('u(x,t)');
legend 'exact solution';
u_exact(x,t)
x
t
exact_sol(x,t)
main
err_x = zeros(1,N);
main
figure;
main
U'-exact_sol(x,t)
main
%-- 01/04/2019 11:33 PM --%
A = [1,3,6;5,3,7]
svd(A)
A = [1,3,6;5,3,7]'
svd(A)
[U,S,V] = svd(A)
A = [1,3,6;5,3,7]
[U,S,V] = svd(A)
U*S*V'
A
A=A'
A'*A
B=A'*A
eigenvalue(B)
S = zeros(m,n)
[m,n] = size(A);
S = zeros(m,n)
S = S + eigenvalue(B)
lambda = eigenvalue(B)
diag(lambda)
vec2mat(lambda,n)
vec2mat(diag(lambda),n)
vec2mat(diag(lambda,m),n)
diag(lambda,n)
diag(lambda,m)
diag(lambda,+1)
diag(lambda,0)
diag(lambda,-1)
diag(lambda,+1)
diag(lambda,-1)
%-- 01/04/2019 11:53 PM --%
A'*A
A = [1,3,6;5,3,7]
A = A';
A = A'
[m,n] = size(A);
top = diag(eigenvalue(A'*A),n)
top = diag(eigenvalue(A'*A))
bottom = zeros(m-n,n)
S = [top;bottom]
A=[1 0 1;
0 1 0;
0 1 1;
0 1 0;
1 1 0]
[m,n] = size(A);
top = diag(eigenvalue(A'*A));
bottom = zeros(m-n,n);
S = [top;bottom];
S
clear
A=[1 0 1;0 1 0;0 1 1;0 1 0;1 1 0]
[m,n] = size(A);
top = diag(eigenvalue(A'*A));
bottom = zeros(m-n,n);
S = [top;bottom]
MATLAB Command History Page 85
May 7, 2019 3:46:17 PM
B = eigenvalue(A'*A)
B = diag(B)
B = diag(B,0)
top
%-- 02/04/2019 10:35 AM --%
A=[1 0 1;0 1 0;0 1 1;0 1 0;1 1 0]
[m,n] = size(A);
top = diag(eigenvalue(A'*A));
bottom = zeros(m-n,n);
S = [top;bottom];
%% Compute A'.A = V.D.V' Let D = diag(eigenvalue(A'A))
D = top
sort(D)
top = diag(eigenvalue(A'*A))
top = diag(sort(eigenvalue(A'*A)))
top = diag(sort(eigenvalue(A'*A),'descend'))
B = eigenvalue(A'*A);
B = eigenvalue(A'*A)
B = sort(eigenvalue(A'*A),'descend')
top = diag(B)
A = [1 2 -2;1 1 1;2 2 1]; b = [7;2;5]; x0 = [0;0;0];
solve_SOR(A,b)
check_SDD(A)
check_SDD([7 2 0;3 5 -1;0 5 -6])
A = [2 -1 0;-1 2 -1;0 -1 2];
A = [2 -1 0;-1 2 -1;0 -1 2]
check_SPD(A)
n = length(A);
for i = 1:n
for j = 1:n
if A(i,j)~=A(j,i)
y = 0;break;
else
y=1;
end
end
end
check_SPD(A)
A = [1 2 -2;1 1 1;2 2 1]
check_SPD(A)
check_SDD(A)
A = [1 2 -2;1 1 1;2 2 1]; b = [7;2;5];
check_SDD(A)
solve_jacobian(A,b)
solve_SOR(A,b)
solve_jacobian(A,b)
A*ans-b
b
clear
clc
A = [1 2 -2;1 1 1;2 2 1]; b = [7;2;5];
solve_SOR(A,b)
A*ans-b
define_solver(A,b)
clear
clc
A = [3 -1 1;3 6 2;3 3 7];b = [1;0;4];
solve_SOR(A,b)
solve_jacobian(A,b)
A*ans-b
solve_jacobian(A,b)
A*ans-b
solve_SOR(A,b)
solve_jacobian(A,b)
A*ans-b
solve_jacobian(A,b)
A*ans-b
solve_gauss_seidel(A,b)
A*ans-b
A = [3 -1 1 8;3 2 6 2;1 3 3 7]
eigenvalue(A)
A = [3 -1 1;3 6 2;3 3 7]
eigenvalue(A)
root(z^3 - 16*z^2 + 75*z - 114, z, 1)
ans
[n,m] = size(A);
if n ~= m
error('Matrix A is not square. Must: A= n.n; b= n.1');
end
%% Eigen value
syms x
fx = det(A-x*diag(diag(ones(n))));
lambda = solve(fx,x);
syms x
g = (A-lambda*ones(n,n))*x
lambda*ones(n,n)
lambda
clear
clc
A = [2 -1 0;-1 2 -1;0 -1 2]
[n,m] = size(A);
if n ~= m
error('Matrix A is not square. Must: A= n.n; b= n.1');
end
syms x
fx = det(A-x*diag(diag(ones(n))));
lambda = solve(fx,x)
lambda*ones(n,n)
syms x
for i = 1:n
f(i) = (A - lambda(i)*ones(n,n))*x(i);
x(i) = solve(f(i),x);
end
(A - lambda(i)*ones(n,n))
syms x
(A - lambda(i)*ones(n,n))*x
solve(ans,x)
for i = 1:n
syms x
f2(i) = (A - lambda(i)*ones(n,n))*x;
y(i) = solve(f2(i),x);
end
for i = 1:n
syms x
f2(i) = (A - lambda(i)*ones(n,n))
end
i = 1;
f(1) = (A - lambda(1)*ones(n,n))
lambda(1)
A - lambda(1)*ones(n,n)
f[1]=ans
f(1)=ans
f{1}=ans
MATLAB Command History Page 86
May 7, 2019 3:46:17 PM
for i = 1:n
syms x
f2{i} = (A - lambda(i)*ones(n,n))*x;
end
for i = 1:n
syms x
f2{i} = (A - lambda(i)*ones(n,n))*x;
end
f2(1,1)(1,1)
f2(1,1)
f2
f2(1,1,1)
f2(1,3)
cell(1)
cell(1,1,1)
f2(1,1,2)
f2(1,1,1)
f2(1,1,1,1)
for i = 1:n
syms x
f2{i} = (A - lambda(i)*ones(n,n))*x
end
clear
clc
A = [2 -1 0;-1 2 -1;0 -1 2]
syms x
fx = det(A-x*diag(diag(ones(n))));
lambda = solve(fx,x);
%% Eigen vector
for i = 1:n
syms x
f2{i} = (A - lambda(i)*ones(n,n))*x
[n,m] = size(A);
syms x
fx = det(A-x*diag(diag(ones(n))));
lambda = solve(fx,x);
%% Eigen vector
for i = 1:n
syms x
f2{i} = (A - lambda(i)*ones(n,n))*x
end
y(1) = solve(f2(1),x)
y(1,1) = solve(f2(1),x)
solve(f2(1),x)
solve(f2{1},x)
f2{1}
f2{2}
solve(f2{2},x)
solve(f2{3},x)
A = [3 -1 1;3 6 2;3 3 7]
eigenvector(A)
%-- 03/04/2019 10:26 PM --%
[x,y]=meshgrid(0:.5:4, -10:.5:10);
S=sqrt(5*exp(2*x-2)-1);
L=sqrt(1+S.^2);
quiver(x,y,1./L,S./L,0.5,'.');
hold on
ezplot('sqrt(5*exp(2*x-2)-1)');
clear
clc
load('FD_FC_FSMC_road1.mat')
x1
x2
x3
x2dot
mesh(x1,x2,x3)
mesh(x1,x2,x2dot)
mesh(x1.data,x2.data,x2dot.data)
mesh(x1.data,x2.data,diag(x2dot.data))
figure
%-- 04/04/2019 12:15 AM --%
load('FD_FC_FSMC_road1.mat')
figure
plot3(x1.data,x2.data,x2dot.data)
grid on
diag(x2dot.data)
mesh(ans)
a
%-- 05/04/2019 9:42 PM --%
clear
clc
alfa = 0.5
alfa = 0.85
alfa=0.5;
alfa = 0.85
%-- 06/04/2019 8:13 AM --%
r = 2;
xc = 4;
yc = 3;
theta = linspace(0.2*pi);
theta = linspace(0,2*pi);
Example1
r = [1,2,3];
xc = [5,15,20];
yc = [2000,2005,2015];
theta = linspace(0,2*pi)
r = [1,2,3];
xc = [5,15,20];
yc = [2000,2005,2015];
theta = linspace(0,2*pi);
for i = 1:length(r)
x(i) = r(i)*cos(theta) + xc(i);
y(i) = r(i)*sin(theta) + yc(i);
end
figure;
plot(x(1),y(1),x(2),y(2),x(3),y(3));
axis equal;
r = [1,2,3];
xc = [5,15,20];
yc = [2000,2005,2015];
theta = linspace(0,2*pi);
clear
clc
r = [1,2,3];
xc = [5,15,20];
yc = [2000,2005,2015];
theta = linspace(0,2*pi);
for i = 1:length(r)
x(i) = r(i)*cos(theta) + xc(i);
y(i) = r(i)*sin(theta) + yc(i);
end
for i = 1:length(r)
x(i) = r(i).*cos(theta) + xc(i);
MATLAB Command History Page 87
May 7, 2019 3:46:17 PM
r = [1;2;3];
xc = [5;15;20];
yc = [2000;2005;2015];
theta = linspace(0,2*pi);
for i = 1:length(r)
x(i,:) = r(i,1)*cos(theta) + xc(i,1);
y(i,:) = r(i,1)*sin(theta) + yc(i,1);
end
figure;
plot(x(1),y(1),x(2),y(2),x(3),y(3));
axis equal;
r = [1;2;3];
xc = [5;15;20];
yc = [2000;2005;2015];
theta = linspace(0,2*pi);
for i = 1:length(r)
x(i,:) = r(i,1)*cos(theta) + xc(i,1);
y(i,:) = r(i,1)*sin(theta) + yc(i,1);
end
figure;
plot(x(1,:),y(1,:),x(2,:),y(2,:),x(3,:),y(3,:));
axis equal;
Example1
clos all
close all
Example1
r = [1;2;3];
xc = [2000;2005;2015];
yc = [5;15;20];
theta = linspace(0,2*pi,4);
for i = 1:length(r)
x(i,:) = r(i,1)*cos(theta) + xc(i,1);
y(i,:) = r(i,1)*sin(theta) + yc(i,1);
end
figure;
plot(x(1,:),y(1,:),x(2,:),y(2,:),x(3,:),y(3,:));
axis equal;
Example1
close all
a = 2;% side of square
xc = 4;
yc = 3;
b = sqrt(2)*a/2
a = 2;% side of square
xc = 4;
yc = 3;
b = sqrt(2)*a/2;
xs = [xc-b xc+b xc+b xc-b];
ys = [yc+b yc+b yc-b yc-b];
theta = linspace(xs,ys);
xs
ys
linspace(xs,ys)
xs = [xc-b, xc+b ,xc+b ,xc-b];
ys = [yc+b ,yc+b ,yc-b ,yc-b];
theta = linspace(xs,ys)
a = 2;% side of square
xc = 4;
yc = 3;
b = sqrt(2)*a/2;
xs = [xc-b, xc+b ,xc+b ,xc-b];
ys = [yc+b ,yc+b ,yc-b ,yc-b];
theta = linspace(xs,ys,5);
a = 2;% side of square
xc = 4;
yc = 3;
b = sqrt(2)*a/2;
xs = [xc-b, xc+b ,xc+b ,xc-b]';
ys = [yc+b ,yc+b ,yc-b ,yc-b]';
theta = linspace(xs,ys,5);
theta = linspace(xs,ys);
clear
clc
a = 2;% side of square
xc = 4;
yc = 3;
b = sqrt(2)*a/2;
side = [xc-b, xc+b ,xc+b ,xc-b];
linspace(side)
linspace(xc-b,xc+b)
linspace(xc-b,xc+b,2)
a = 2;% side of square
xc = 4;
yc = 3;
b = sqrt(2)*a/2;
side = [xc-b, xc+b ,xc+b ,xc-b];
ys = [yc+b ,yc+b ,yc-b ,yc-b];
theta = linspace(xs,ys,2);
x = r*cos(theta) + xc;
y = r*sin(theta) + yc;
a = 2;% side of square
xc = 4;
yc = 3;
b = sqrt(2)*a/2;
side = [xc-b, xc+b ,xc+b ,xc-b];
x = r*cos(side) + xc;
y = r*sin(side) + yc;
figure;
plot(x,y);
axis equal;
a = 2;% side of square
xc = 4;
yc = 3;
b = sqrt(2)*a/2;
side = [xc-b, xc+b ,xc+b ,xc-b];
x = cos(side) + xc;
y = sin(side) + yc;
figure;
plot(x,y);
axis equal;
a = 2;% side of square
xc = 4;
yc = 3;
b = sqrt(2)*a/2;
side = [xc-b, xc+b ,xc+b ,xc-b];
x = a*cos(side) + xc;
y = a*sin(side) + yc;
figure;
plot(x,y);
axis equal;
example_scatter
clear
Example2
MATLAB Command History Page 89
May 7, 2019 3:46:17 PM
close all
Example2
Example_Bar_chart
x = 1900:10:2000;
y = [75 91 105 123.5 131 150 179 203 226 249 281.5];
bar(x,y)
close all
Example_Bar_chart
year = [2014 2015 2017 2019];
paper = [0 46 126 323];
division = [1 3 4 5];
researcher = [9 15 17 21];
all_data = [paper' division' researcher'];
clear
year = [2014 2015 2017 2019];
paper = [0 46 126 323];
division = [1 3 4 5];
researcher = [9 15 17 21];
all_data = [paper' division' researcher'];
close all
Example_Bar_chart
clear
close all
x = linspace(0,pi);
y = linspace(-pi,0);
[x3,y3] = meshgrid(x,y);
Example_Contour
close all
Example_Contour
close all
Example_Contour
[x3,y3,z3] = peaks;
surfc(x3,y3,z3)
%-- 06/04/2019 11:47 AM --%
load('FD_FC_FSMC_road1.mat')
x1
x2
x3
x2dot
x = x1;y = x2;z = x2dot;
save('vector.mat','x','y','z');
clear
clc
load('vector.mat')
%-- 06/04/2019 1:21 PM --%
peaks
[x3,y3,z3] = peaks
x1D = linspace(1,10);
y1D = linspace(0,5);
[x2D,y2D] = meshgrid(x1D,y1D);
clear
x1D = linspace(1,10);
y1D = linspace(0,5);
[x2D,y2D] = meshgrid(x1D,y1D);
z2D = sin(x2D)*cos(y2D);
sufc(x2D,y2D,z2D)
suf(x2D,y2D,z2D)
surf(x2D,y2D,z2D)
surfc(x2D,y2D,z2D)
clear
flow
[x,y,z,v] = flow;
Example_slice_planes
close all
x1D = linspace(1,10);
y1D = linspace(0,5);
[x2D,y2D] = meshgrid(x1D,y1D);
z2D = x2D*cos(y2D);
sufc(x2D,y2D,z2D);
x1D = linspace(1,10);
y1D = linspace(0,5);
[x2D,y2D] = meshgrid(x1D,y1D);
z2D = x2D*cos(y2D);
surfc(x2D,y2D,z2D);
x1D = linspace(1,10);
y1D = linspace(0,5);
[x2D,y2D] = meshgrid(x1D,y1D);
z2D = x2D.*cos(y2D);
surfc(x2D,y2D,z2D);
x1D = linspace(1,10);
y1D = linspace(0,5);
[x2D,y2D] = meshgrid(x1D,y1D);
z2D = sin(x2D).*cos(y2D);
surfc(x2D,y2D,z2D);
clear
clc
x1D = linspace(1,10);
y1D = linspace(0,5);
z1D = linspace(0,15);
[x3D,y3D,z3D] = meshgrid(x1D,y1D,z1D);
x1D = linspace(1,10);
y1D = linspace(0,5);
z1D = linspace(0,15);
[x3D,y3D,z3D] = meshgrid(x1D,y1D,z1D);
temperture_3D = sin(x3D).*cos(y3D) + tan(z3D);
figure;
xslice = 5;
yslice = 0;
zslice = 0;
slice(x3D,y3D,z3D,temperture_3D,xslice,yslice,zslice)
clear
clc
[x,y,z,v] = flow;
figure;
xslice = 5;
yslice = 0;
zslice = 0;
interp3(x,y,z,v,xslice,yslice,zslice)
flow
flow(10)
flow(100
)
flow(100)
clear
clc
close all
[x,y,z,v] = flow(100);
figure;
xslice = 5;
yslice = 0;
zslice = 0;
slice(x,y,z,v,xslice,yslice,zslice)
smooth
MATLAB Command History Page 90
May 7, 2019 3:46:17 PM
shading flat
hold on
xslice = 1;
yslice = 0;
zslice = 0;
slice(x,y,z,v,xslice,yslice,zslice)
clear
[x,y,z,v] = flow(100);
figure;
xslice = [1 3 5];
yslice = 0;
zslice = 0;
slice(x,y,z,v,xslice,yslice,zslice)
shading flat
[x,y,z,v] = flow(100);
figure;
xslice = [1 4 8];
yslice = 0;
zslice = 0;
slice(x,y,z,v,xslice,yslice,zslice)
shading flat
colormap hsv
clear
clc
close all
Example_vector_field
[x,y] = meshgrid(0:10,0:10)
%-- 06/04/2019 3:17 PM --%
load('vector.mat')
[x,y] = meshgrid(0:0.2:2,0:0.2:2)
clear
test
[X,Y,Z] = meshgrid(x.data,y.data,z.data);
test
clsear all
clear all
close all
test
load('vector.mat')
x
test
clear
clc
close all
[X,Y] = meshgrid(-2:.2:2);
Z = X.*exp(-X.^2 - Y.^2);
[DX,DY] = gradient(Z,.2,.2);
figure
contour(X,Y,Z)
hold on
quiver(X,Y,DX,DY)
hold off
[X,Y] = meshgrid(-2:.2:2);
Z = X.*exp(-X.^2 - Y.^2);
[DX,DY] = gradient(Z,.2,1);
figure
contour(X,Y,Z)
hold on
quiver(X,Y,DX,DY)
hold off
test
clear
test
for i = 1:(length(x.data)/50)
X(i) = x.data(i*50);
Y(i) = y.data(i*50);
u(i) = y.data(i*50);
v(i) = z.data(i*50);
end
[X,Y] = meshgrid(X,Y);
test
(length(x.data)/10000)
clear
clc
load('vector.mat');
for i = 1:(length(x.data)/100)
X(i) = x.data(i*100);
Y(i) = y.data(i*100);
u(i) = y.data(i*100);
v(i) = z.data(i*100);
end
200*200
for i = 1:(length(x.data)/100)
X(i) = x.data(i*100);
Y(i) = y.data(i*100);
u(i) = y.data(i*100);
v(i) = z.data(i*100);
end
[X,Y] = meshgrid(X,Y);
[u,v] = meshgrid(u,v);
figure;
quiver(X,Y,u,v)
clear
test
clear
test
clear
load('vector.mat');
%% Line
for i = 1:(length(x.data)/20)
X(i) = x.data(i*20);
Y(i) = y.data(i*20);
u(i) = y.data(i*20);
v(i) = z.data(i*20);
end
figure;
quiver(X,Y,u,v)
clear
load('vector.mat');
for i = 1:(length(x.data))
X(i) = x.data(i);
Y(i) = y.data(i);
u(i) = y.data(i);
v(i) = z.data(i);
end
[X,Y] = meshgrid(X,Y);
[u,v] = meshgrid(u,v);
figure;
quiver(X,Y,u,v)
%-- 07/04/2019 7:31 AM --%
A = [2 -1;-1 2];b = [1;0];
%% Check matrix A & vector b
[n,m] = size(A);
MATLAB Command History Page 91
May 7, 2019 3:46:17 PM
[p,l] = size(b);
if n~= p
error('Wrong rows & column between A & b. Must: A= n.n; b= n.1');
end
x0 = b;
p0 = b - A*x0;
r0 = p0;
%% Solve
figure;
hold on;
for k = 0:n
alpha = (r0'*r0)/(p0'*A*p0);
x = x0 + alpha*p0;
r1 = r0 - alpha*A*p0;
beta = (r1'*r1)/(r0'*r0);
p1 = r1 + beta*p0;
x0 = x;
r0 = r1;
p0 = p1;
plot(x);
end
hold off;
x
x0
clc
x0 = b;
p0 = b - A*x0;
r0 = p0;
x0
r0
n
for k = 0:5
alpha = (r0'*r0)/(p0'*A*p0);
x = x0 + alpha*p0
r1 = r0 - alpha*A*p0;
beta = (r1'*r1)/(r0'*r0);
p1 = r1 + beta*p0;
x0 = x;
r0 = r1;
p0 = p1;
end
clear
clc
A = [2 -1;-1 2];b = [1;0];
%% Check matrix A & vector b
[n,m] = size(A);
[p,l] = size(b);
if n~= p
error('Wrong rows & column between A & b. Must: A= n.n; b= n.1');
end
%% Initial
x0 = b;
p0 = b - A*x0;
r0 = p0;
%% Solve
figure;
hold on;
for k = 1:n
alpha = (r0'*r0)/(p0'*A*p0);
x = x0 + alpha*p0
r1 = r0 - alpha*A*p0;
beta = (r1'*r1)/(r0'*r0);
p1 = r1 + beta*p0;
x0 = x;
r0 = r1;
p0 = p1;
plot(x);
end
hold off;
for k = 1:2
alpha = (r0'*r0)/(p0'*A*p0);
x = x0 + alpha*p0
r1 = r0 - alpha*A*p0;
beta = (r1'*r1)/(r0'*r0);
p1 = r1 + beta*p0;
x0 = x;
r0 = r1;
p0 = p1;
plot(x);
end
x0 = b;
p0 = b - A*x0;
r0 = p0;
%% Solve
figure;
hold on;
for k = 1:2
alpha = (r0'*r0)/(p0'*A*p0);
x = x0 + alpha*p0
r1 = r0 - alpha*A*p0;
beta = (r1'*r1)/(r0'*r0);
p1 = r1 + beta*p0;
x0 = x;
r0 = r1;
p0 = p1;
plot(x);
end
hold off;
clear
clc
A = [2 -1;-1 2];b = [1;0];
%% Check matrix A & vector b
[n,m] = size(A);
[p,l] = size(b);
if n~= p
error('Wrong rows & column between A & b. Must: A= n.n; b= n.1');
end
%% Initial
x0 = b;
p0 = b - A*x0;
r0 = p0;
%% Solve
figure;
hold on;
for k = 0:(n-1)
alpha = (r0'*r0)/(p0'*A*p0);
x = x0 + alpha*p0
r1 = r0 - alpha*A*p0;
beta = (r1'*r1)/(r0'*r0);
p1 = r1 + beta*p0;
x0 = x;
r0 = r1;
p0 = p1;
MATLAB Command History Page 92
May 7, 2019 3:46:17 PM
plot(x);
end
hold off;
clear
clc
A = [2 -1;-1 2];b = [1;0];
%% Check matrix A & vector b
[n,m] = size(A);
[p,l] = size(b);
if n~= p
error('Wrong rows & column between A & b. Must: A= n.n; b= n.1');
end
%% Initial
x0 = b;
p0 = b - A*x0;
r0 = p0;
x0
r0
p0
x0 = zero(p,l)
x0 = zeros(p,l)
p0 = b - A*x0
r0 = p0;
alpha = (r0'*r0)/(p0'*A*p0)
x = x0 + alpha*p0
r1 = r0 - alpha*A*p0
beta = (r1'*r1)/(r0'*r0)
p1 = r1 + beta*p0
A = [2 -1;-1 2];b = [1;0];
%% Check matrix A & vector b
[n,m] = size(A);
[p,l] = size(b);
if n~= p
error('Wrong rows & column between A & b. Must: A= n.n; b= n.1');
end
%% Initial
x0 = zeros(p,l);
p0 = b - A*x0;
r0 = p0;
%% Solve
figure;
hold on;
for k = 0:(n-1)
alpha = (r0'*r0)/(p0'*A*p0);
x = x0 + alpha*p0
r1 = r0 - alpha*A*p0;
beta = (r1'*r1)/(r0'*r0);
p1 = r1 + beta*p0;
x0 = x;
r0 = r1;
p0 = p1;
plot(x);
end
hold off;
A = [2 -1;-1 2];b = [1;0];
%% Check matrix A & vector b
[n,m] = size(A);
[p,l] = size(b);
if n~= p
error('Wrong rows & column between A & b. Must: A= n.n; b= n.1');
end
%% Initial
x0 = zeros(p,l);
p0 = b - A*x0;
r0 = p0;
%% Solve
figure;
hold on;
legend 'x1' 'x2';
for k = 0:(n-1)
alpha = (r0'*r0)/(p0'*A*p0);
x = x0 + alpha*p0
r1 = r0 - alpha*A*p0;
beta = (r1'*r1)/(r0'*r0);
p1 = r1 + beta*p0;
x0 = x;
r0 = r1;
p0 = p1;
plot(x);
end
hold off;
A = [2 -1;-1 2];b = [1;0];
%% Check matrix A & vector b
[n,m] = size(A);
[p,l] = size(b);
if n~= p
error('Wrong rows & column between A & b. Must: A= n.n; b= n.1');
end
%% Initial
x0 = zeros(p,l);
p0 = b - A*x0;
r0 = p0;
%% Solve
figure;
hold on;
for k = 0:(n-1)
alpha = (r0'*r0)/(p0'*A*p0);
x = x0 + alpha*p0
r1 = r0 - alpha*A*p0;
beta = (r1'*r1)/(r0'*r0);
p1 = r1 + beta*p0;
x0 = x;
r0 = r1;
p0 = p1;
plot(x);
end
legend 'x1' 'x2';
hold off;
A*x-b
A = [2 -1 3;-1 2 4];
A = [2 -1 3;-1 2 4]
A = [2 -1 3;-1 2 4]; b = [1;3];
%% Check matrix A & vector b
[n,m] = size(A);
[p,l] = size(b);
if n~= p
error('Wrong rows & column between A & b. Must: A= n.n; b= n.1');
end
%% Initial
x0 = zeros(p,l);
p0 = b - A*x0;
r0 = p0;
%% Solve
MATLAB Command History Page 93
May 7, 2019 3:46:17 PM
figure;
hold on;
for k = 0:(n-1)
alpha = (r0'*r0)/(p0'*A*p0);
x = x0 + alpha*p0
r1 = r0 - alpha*A*p0;
beta = (r1'*r1)/(r0'*r0);
p1 = r1 + beta*p0;
x0 = x;
r0 = r1;
p0 = p1;
plot(x);
end
legend 'x1' 'x2';
hold off;
r1
Example_Animation
clear
Example_Animation
close all
clear
clc
Example_Animation
L = 100;
t = linspace(-pi,pi,L);
x = sin(t) + cos(t);
y = sin(t) - cos(t);
plot(x,y,'.:b');
hold on;
n = 1;
x_t = x(n);
y_t = y(n);
fig = plot(x_t,y_t,'or');
Example_Animation
clear
close all
Example_Animation
x = [0 L L = 100;
M = 100;
x = [0 L L 0];
y = [M M 0 0];
line(x,y,',:b')
L = 100;
M = 100;
x = [0 L L 0];
y = [M M 0 0];
line(x,y,',:b')
L = 100;
M = 100;
x = [0 L L 0];
y = [M M 0 0];
line(x,y)
plot(x,y)
L = 100;
M = 100;
x = [0 L L 0];
y = [M M 0 0];
plot(x,y,'.:b')
L = 100;
M = 100;
x = [0 L L 0];
y = [M M 0 0];
plot(x,y,'b','Linewidth',2)
L = 100;
M = 100;
x = [0 L L 0 0];
y = [M M 0 0 M];
plot(x,y,'b','Linewidth',2)
Example_Animation
L = 100;
M = 100;
x = [0 L L 0 0];
y = [M M 0 0 M];
plot(x,y,'b','Linewidth',2)
hold on;
t = 0:(2*L+2*M);
x_t = 0;
y_t = L;
fig = plot(x_t,y_t,'or');
clear
clc
L = 100;
M = 100;
x = [0 L L 0 0];
y = [M M 0 0 M];
plot(x,y,'b','Linewidth',2)
hold on;
t = 0:(2*L+2*M);
x_t = 0;
y_t = L;
fig = plot(x_t,y_t,'or');
for i = 1: length(t)
if t<=L
for i = 0:L
x_t = i;
y_t = M;
end
elseif (t>L)&&(t<=L+M)
for i=0:M
x_t = L;
y_t = M-i;
end
elseif (t>L+M)&&(t<=2*L+M)
for i = 0:L
x_t = L-i;
y_t = 0;
end
else
for i = i:M
x_t = 0;
y_t = i;
end
end
set(fig,'xdata',x_t,'ydata',y_t);% update new value of x & y at t
pause(0.01);
end
Example_Animation
clear
clc
Example_Animation
clear
close all
clc
MATLAB Command History Page 94
May 7, 2019 3:46:17 PM
Example_Animation
linspace(1,0)
Example_Animation
clear
clc
[x,y,z,v] = flow(100);
figure;
xslice = 0;
yslice = -3;
zslice = 0;
slice(x,y,z,v,xslice,yslice,zslice)
shading flat
colormap hsv
Example_Animation
clear
close all hidden
Example_Animation
clear
close all
clcl
clc
x1 = linspace(0,0,L);
L = 3;
x1 = linspace(0,0,L);
L = 3;
M = 4;
x_side1 = linspace(0,L,10);
y_side1 = linspace(M,M,10);
x_side2 = linspace(L,L,10);
y_side2 = linspace(M,0,10);
x_side3 = linspace(L,0,10);
y_side3 = linspace(0,0,10);
x_side4 = linspace(0,0,10);
y_side4 = linspace(0,M,10);
x = [x_side1 x_side2 x_side3 x_side4];
y = [y_side1 y_side2 y_side3 y_side4];
plot(x,y,'b','Linewidth',2)
hold on;
position = 1;
x_t = x(position);
y_t = y(position);
fig = plot(x_t,y_t,'or');
hold on;
position = 1;
x_t = x(position);
y_t = y(position);
fig = plot(x_t,y_t,'or','Linewidth',2);
while(1)
position = position + 1;
x_t = x(position);
y_t = y(position);
set(fig,'xdata',x_t,'ydata',y_t);% update new value of x & y at t
pause(1);
if (position==length(x))
position = 1;
end
end
Example_Animation
clear all
close all
clc
A = [10 -1 2 0;-1 11 -1 3;2 -1 10 -1;0 3 -1 8]; b = [6;25;-11;15]; x0 = b;
solve_conjugate_gradient(A,b)
A*x-b
A*ans-b
solve_gauss_seidel(A,b)
A*ans-b
clear
close all
A = [1 0 1;0 1 0;0 1 1;0 1 0;1 1 0];
A'*A
syms v
f = v*diag([5 2 1])*v'-ans
solve(f,v)
syms a f(x)
A = sym('A',[2 3])
v = sym('v'[3 3])
v = sym('v',[3 3])
f = v*diag([5 2 1])*v'-ans
f = v*diag([5 2 1])*transpose(v)-ans
clear
clc
A = [1 0 1;0 1 0;0 1 1;0 1 0;1 1 0];
v = sym('v',[3 3])
f = v*diag([5 2 1])*transpose(v)-transpose(A)*A
solve(f,v)
solve(f)
x = [1;2;3];
f = norm(v*x,2)-norm(x,2)
solve(f)
solve(f,v)
v = [5;7;9]
B = A'*A
B*v
5*v
B
B'
[u,s,v] = svd(A)
A
svd(A)
ans^10
ans.^10
D
D = diag([5 2 1])
eigenvalue(D)
S = diag([sqrt(5) sqrt(2) 1])
eigenvalue(S)
2^0.5
norm(D)
D
norm(D,1)
norm(D,2)
v1 = [2;4;6]
v2 = [8;5;1]
v3 = [10;1;3]
B
B-[v1 v2 v3]*D*[v1 v2 v3]'
V = [v1 v2 v3]
rank(V)
inv(V)
V'*V
V*V'
%-- 09/04/2019 5:24 AM --%
MATLAB Command History Page 95
May 7, 2019 3:46:17 PM
load('SMC1_combine_frac_Surf.mat')
Sv
Sv_dot
Svdot
load('SMC1_combine.mat')
load('SMC1_combine_frac_Surf.mat')
plot3(Sv.data,DSv.data,Sv.data.*DSv.data)
grid on
x = Sv.data;y=DSv.data;z = Sv.data.*DSv.data
x = Sv.data;y=DSv.data;z = Sv.data.*DSv.data;
[X,Y,Z] = meshgrid(x,y,z);
[X,Y] = meshgrid(x,y);
%-- 09/04/2019 12:29 PM --%
A = [10 -1 2 0;-1 11 -1 3;2 -1 10 -1;0 3 -1 8]; b = [6;25;-11;15];
x = inv(A)*b
syms y
solve(A*y-b,y)
solve_conjugate_gradient(A,b)
%-- 09/04/2019 1:52 PM --%
A = magic(3)
clear
A = rand(3,2)
A = rand(2,4)
det(A)
g = rand(4,2)
A*g
c = A*g
inv(c)
g*inv(A*g)*A
1+ans
g*inv(A*g)
ans-1
norm(ans)
inv(A*g)
det(ans)
g*inv(A*g)*A
det(ans)
g*inv(A*g)
%-- 10/04/2019 2:19 PM --%
load('SMC1_combine.mat')
plot(x2dot)
load('SMC1_sine.mat')
plot(zs_2dot)
load('SMC1_combine_frac_Surf.mat')
plot(zs_2dot)
x = zs_2dot.data;
norm(x,inf)
norm(x*x',inf)
%-- 10/04/2019 3:10 PM --%
x1 = [0.0000 0.6000 1.0473 0.9326 1.0152 0.9890 1.0032 0.9981 1.0006 0.9997 1.0001]
plot(x1)
x1 = [0.0000 0.6000 1.0473 0.9326 1.0152 0.9890 1.0032 0.9981 1.0006 0.9997 1.0001]
x2 = [0.0000 2.2727 1.7159 2.053 1.9537 2.0114 1.9922 2.0023 1.9987 2.0004 1.9998]
x3 = [0.0000 -1.1000 -0.8052 -1.0493 -0.9681 -1.0103 -0.9945 -1.0020 -0.9990 -1.0004 -0.9998]
x4 = [0.0000 1.8750 0.8852 1.1309 0.9739 1.0214 0.9944 1.0036 0.9989 1.0006 0.9998]
plot(x1,x2,x3,x4)
plot(x1)
hold on
plot(x2,'r')
plot(x3,'m')
plot(x4,'g')
legend 'x1' 'x2' 'x3' 'x4'
x = [1;2;-1;1]
T = [0,1/10,-1/5,0;
1/11,0,1/11,-3/11;
-1/5,1/10,0,1/10;
0,-3/8,1/8,0];
c = [3/5;25/11;-11/10;15/8];
T*x-c
T*x
ans+c
T*x+c
x
T*x+c
x0 = [0;0;0;0];
T*x0+c
x = [x1(11);x2(11);x3(11);x4(11)]
T*x+c
x = ans;
T*x+c
x = ans;
T*x+c
T*x-c
x = T*x0+c
norm(x-x0,inf)
norm(x-x0,inf)/norm(x,inf)
1e-3
clear
clc
x0 = [0;0;0;0];
T = [0,1/10,-1/5,0;
1/11,0,1/11,-3/11;
-1/5,1/10,0,1/10;
0,-3/8,1/8,0];
c = [3/5;25/11;-11/10;15/8];
x = T*x0+c;
luu = [x0,x];
luu = [x0,x]
x0 = [0;0;0;0];
T = [0,1/10,-1/5,0;
1/11,0,1/11,-3/11;
-1/5,1/10,0,1/10;
0,-3/8,1/8,0];
c = [3/5;25/11;-11/10;15/8];
x = T*x0+c;
luu = [x0,x];
count = 2;
while norm(x-x0,inf)/norm(x,inf)>1e-3
x0 = x;
x = T*x0+c;
count = count+1;
luu(:,count) = x;
end
luu
x0 = [0;0;0;0];
T = [0,1/10,-1/5,0;
1/11,0,1/11,-3/11;
-1/5,1/10,0,1/10;
0,-3/8,1/8,0];
c = [3/5;25/11;-11/10;15/8];
x = T*x0+c;
luu = [x0,x];
count = 2;
MATLAB Command History Page 96
May 7, 2019 3:46:17 PM
while norm(x-x0,inf)/norm(x,inf)>1e-4
x0 = x;
x = T*x0+c;
count = count+1;
luu(:,count) = x;
end
luu
disp(luu);
disp(luu)
clc
disp(luu)
x0 = [0;0;0;0];
T = [0,1/10,-1/5,0;
1/11,0,1/11,-3/11;
-1/5,1/10,0,1/10;
0,-3/8,1/8,0];
c = [3/5;25/11;-11/10;15/8];
x = T*x0+c;
luu = [x0,x];
count = 2;
while norm(x-x0,inf)/norm(x,inf)>1e-4
x0 = x;
x = T*x0+c;
er = norm(x-x0,inf);
count = count+1;
luu(:,count) = x;
end
disp(luu);
er
x0 = [0;0;0;0];
T = [0,1/10,-1/5,0;
1/11,0,1/11,-3/11;
-1/5,1/10,0,1/10;
0,-3/8,1/8,0];
c = [3/5;25/11;-11/10;15/8];
x = T*x0+c;
luu = [x0,x];
count = 2;
while norm(x-x0,inf)/norm(x,inf)>1e-4
x0 = x;
x = T*x0+c;
er(count-1) = norm(x-x0,inf);
count = count+1;
luu(:,count) = x;
end
disp(luu);
er
x0 = [0;0;0;0];
T = [0,1/10,-1/5,0;
1/11,0,1/11,-3/11;
-1/5,1/10,0,1/10;
0,-3/8,1/8,0];
c = [3/5;25/11;-11/10;15/8];
x = T*x0+c;
luu = [x0,x];
count = 2;
while norm(x-x0,inf)/norm(x,inf)>1e-4
x0 = x;
x = T*x0+c;
er(count-1) = norm(x-x0,inf);
er2(count-1) = norm(x-x0,inf)/norm(x,inf);
count = count+1;
luu(:,count) = x;
end
disp(luu);
er2
er
x
luu
norm(luu,inf)
norm(luu,2)
spectral_radius(T)
eigen_value(T)
eigenvalue(T)
A = [10 -1 2 0;-1 11 -1 3;2 -1 10 -1;0 3 -1 8]; b = [6;25;-11;15];
clear
A = [10 -1 2 0;-1 11 -1 3;2 -1 10 -1;0 3 -1 8]; b = [6;25;-11;15];
spectral_radius(A)
A = magic(3)
spectral_radius(A)
eigenvalue(A)
a=[3 10 5 8 2 1];
A = diag(a)
eigenvalue(A)
spectral_radius(A)
n=5;
A = sparse(diag(2*ones(n,1),0) + (-1)*diag(ones(n-1,1),-1) + (-1)*diag(ones(n-1,1),1));
eigenvalue(A)
spectral_radius(A)
1-ans
A = [10 -1 2 0;-1 11 -1 3;2 -1 10 -1;0 3 -1 8]
spectral_radius(A)
A = sparse(diag(2*ones(n,1),0) + (-3)*diag(ones(n-1,1),-1) + (-3)*diag(ones(n-1,1),1));
spectral_radius(A)
1-ans
A = sparse(diag(0.2*ones(n,1),0) + (-3)*diag(ones(n-1,1),-1) + (-3)*diag(ones(n-1,1),1));
spectral_radius(A)
1-ans
ans
ones(5)
inv(ones(5)-A)
tu = ones(5)+A+A^2+A^3+A^4+A^5+A^6
ans-tu
sum(A)
prod(A)
%-- 11/04/2019 1:23 PM --%
Parameter
Parameter2
Parameter
tic
sim('FD_FC_FSMC');
toc
%-- 11/04/2019 2:37 PM --%
A = [10 -1 2 0;-1 11 -1 3;2 -1 10 -1;0 3 -1 8]
spectral_radius(A)
inv(ones(4)-A)
a=[3 10 5 8 2 1];
a=[3 10 5 8 2 1]
A = [1 0 1;0 1 0;0 1 1;0 1 0;1 1 0];
A = [1 0 1;0 1 0;0 1 1;0 1 0;1 1 0]
A = [3 -1 1;3 6 2;3 3 7]
spectral_radius(A)
eigenvalue(A)
MATLAB Command History Page 97
May 7, 2019 3:46:17 PM
clear
A = [2 -1;-1 2]
eigenvalue(A)
spectral_radius(A)
A = [0 1;1 1]
eigenvalue(A)
spectral_radius(A)
1-ans
inv(ones(2)-A)
A = [2 -1;-1 2]
inv(ones(2)-A)
compare(1,ans)
eigenvalue(A)
spectral_radius(A)
A = [0 1;1 1]
spectral_radius(A)
compare(1,ans)
if 1>ans;return 1;else return 0;end
if 1>ans
return 1;
if 1>ans
1;
else 0;
end
if 1>ans
true
else
false
end
spectral_radius(A)
if 1>ans
true
else false
end
A = [2 1 0;1 2 0;0 0 3]
eigenvalue(A)
spectral_radius(A)
A = [-1 2 0;0 3 4;0 0 7]
spectral_radius(A)
A = [2 1 1;2 3 2;1 1 2]
spectral_radius(A)
A = [0 0.5;0.5 0]
spectral_radius(A)
A = [2 -1;-1 2] % rho(A) =
spectral_radius(A)
A = [0 1;1 1]
spectral_radius(A)
5^(1/2)/2
ans+0.5
A = [-1 2 0;0 3 4;0 0 7]
eigenvalue(A)
A = [0 0.5;0.5 0]
eigenvalue(A)
A = [0.5 0 0;-1 0.5 0;2 2 -1/3]
eigenvalue(A)
spectral_radius(A)
A = [2 -1;-1 2]
B = inv(ones(length(A)-A)
B = inv(ones(length(A)-A))
length(A)
ones(A)
ones(length(A))
one(length(A))
B = inv(eye(length(A)-A))
eye(2)
eye(length(A))
eye(length(A))-A
inv(eye(length(A))-A)
B = inv(eye(length(A))-A)
clear
A = [2 -1;-1 2]
det(A)
B = inv(eye(length(A))-A)
A = [0 1;1 1]
det(A)
B = inv(eye(length(A))-A)
spectral_radius(A)
1/ans
pretty(ans)
sqrt(5)/2
sqrt(5)/2+0.5
spectral_radius(A)
5^(1/2)/2+0.5
A = [0 0.5;0.5 0]
spectral_radius(A)
B = inv(eye(length(A))-A)
det(A)
A = [2 1 0;1 2 0;0 0 3]
det(A)
B = inv(eye(length(A))-A)
A = [-1 2 0;0 3 4;0 0 7]
det(A)
B = inv(eye(length(A))-A)
A = [2 1 1;2 3 2;1 1 2]
det(A)
B = inv(eye(length(A))-A)
A = [0.5 0 0;-1 0.5 0;2 2 -1/3]
det(A)
B = inv(eye(length(A))-A)
A = [2 -1 0;-1 2 4;0 0 2]
A = [2 -1 0;0 2 4;0 0 2]
det(A)
spectral_radius(A)
B = inv(eye(length(A))-A)
A = [0 1 -2;1 0 0;1 1 1]
spectral_radius(A)
det(A)
B = inv(eye(length(A))-A)
sqrt(3)
roots[1 2 3 4 4 6]
roots[8 2 3 4 4 6]
roots(8 2 3 4 4 6)
roots([8 2 3 4 4 6])
roots([8 2 3 4 4 6 91 129 8 12 9 9 47 19 47 56 8])
plot(ans)
plot([-5:0.1:5],roots([8 2 3 4 4 6 91 129 8 12 9 9 47 19 47 56 8]))
A = diag([1 9 8 62 7])
eigenvalue(A)
A = A-triu(A,+1)
A = [0.5 0 0;-1 0.5 0;2 2 -1/3]
A = A-triu(A,+1)
clear
A = [2 -1;-1 2]
MATLAB Command History Page 98
May 7, 2019 3:46:17 PM
eigenvalue(A)
C = A.^3
eigenvalue(C)
A = [0 1;1 1]
C = A.^3
eigenvalue(C)
eigenvalue(A)
A = [2 1 0;1 2 0;0 0 3]
eigenvalue(A)
inv(A)
inv(norm(inv(A)))
norm(inv(A))
inv(A)
norm(A)
A = [0.5 0 0;-1 0.5 0;2 2 -1/3]
norm(A)
norm(inv(A))
norm(inv(A),2)
trace(A)
norm(inv(A),1)
norm(inv(A),1,2)
clear
clc
close all
1/1000
0.001
Parameter
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x2dot)
figure;plot(dt)
close all
figure;plot(dt)
Parameter
figure;plot(dt)
figure;plot(zr)
figure;plot(x1)
figure;plot(x2)
figure;plot(x2dot)
v
figure;plot(vt)
Parameter
figure;plot(zr)
figure;plot(x1)
figure;plot(x2)
figure;plot(x2dot)
figure;plot(x1)
figure;plot(x2)
figure;plot(x2dot)
figure;plot(x1)
figure;plot(x2)
figure;plot(x2dot)
close all
Parameter
figure;plot(x2dot)
Parameter
close all
Parameter
figure;plot(x2dot)
Parameter
close all
figure;plot(x2dot)
figure;plot(u)
figure;plot(x1)
figure;plot(Fsd)
close all
Untitled
Parameter
figure;plot(u)
load('Skyhook_road1.mat')
figure;plot(u)
load('Skyhook_road1_2.mat')
figure;plot(u)
figure;plot(zr)
figure;plot(u)
figure;plot(x1)
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
close all
Parameter
figure;plot(x2dot)
figure;plot(u)
figure;plot(x2dot)
Parameter
close all
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
close all
clc
clear
clear all
close all
%-- 12/04/2019 9:59 AM --%
load('FD_FC_FSMC_road1.mat')
x1.data
clc
E = [x1.data,x2.data,x2dot.data];
norm(E(1:100,:),inf)
norm(E(1:1000,:),inf)
norm(E(1:1000,:),inf)/(1-norm(E(1:1000,:),inf))
norm(E(1:100,:),inf)/(1-norm(E(1:100,:),inf))
clear
clc
test
plot(er
plot(er)
Error
err
Error
clc
close all
Error
E = [x1.data,x2.data,x2dot.data];
Error
close all
Error
close all
Error
close all
clear
MATLAB Command History Page 99
May 7, 2019 3:46:17 PM
clc
Error
close all
Error
clear
clc
Parameter
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x1)
figure;plot(x2)
close all
figure;plot(x1)
figure;plot(zr)
figure;plot(x2)
figure;plot(x2dot)
close all
figure;plot(zr)
figure;plot(x1)
figure;plot(x2)
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x1)
figure;plot(x2)
figure;plot(x2dot)
load('FD_FC_FSMC_respond.mat')
figure;plot(x2dot)
close all
figure;plot(zr)
figure;plot(x1)
figure;plot(x2)
figure;plot(x2dot)
close all
clear
clc
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
Parameter
clc
close all
Parameter
figure;plot(x2dot)
Parameter
figure;plot(x2dot)
figure;plot(x1)
clear
close all
clc
Error
Parameter
figure;plot(x1)
Parameter
figure;plot(x1)
load('FD_FC_FSMC_respond2.mat')
figure;plot(x1)
close all
Error
close all
Error
Parameter
figure;plot(x1)
figure;plot(x2)
figure;plot(x2dot)
figure;plot(x2)
figure;plot(u)
close all
clear
clc
Parameter
figure;plot(x2dot)
figure;plot(x1)
Parameter
figure;plot(x1)
Parameter
figure;plot(x1)
Parameter
figure;plot(x1)
Parameter
Error
close all
load('Skyhook_respond2.mat')
figure;plot(x1)
Parameter
Error
close all
Error
%-- 13/04/2019 9:03 AM --%
Error
close all
Error
close all
Error
%-- 14/04/2019 9:27 AM --%
Parameter
figure;plot(x1)
figure;plot(zr)
figure;plot(x1)
%-- 15/04/2019 10:59 PM --%
pk1 = load('Passive_respond2.mat');
pk2 = load('Skyhook_respond2.mat');
pk3 = load('FD_FC_FSMC_respond2.mat');
clear
close all
pk1 = load('Passive_respond2.mat');
pk2 = load('Skyhook_respond2.mat');
pk3 = load('FD_FC_FSMC_respond2.mat');
figure;
hold on
plot(pk3.zr.time,pk3.zr.data,'LineWidth',1.5);
hold on
plot(pk3.zr.time,pk3.zr.data,'LineWidth',1.5);
%-- 17/04/2019 8:18 AM --%
Parameter
figure;plot(zr)
figure;plot(z1)
figure;plot(x1)
figure;plot(z1)
MATLAB Command History Page 100
May 7, 2019 3:46:17 PM
figure;plot(zr)
figure;plot(x1)
close all
figure;plot(zr)
figure;plot(x1)
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x1)
figure;plot(x2dot)
figure;plot(zr)
figure;plot(x1)
test
close all
figure;plot(x1)
figure;plot(x2dot)
grid on
test
clear
clc
t = zeros(1,100);
for n = 1:100
A = rand(n,n);
b = rand(n,1);
tic;
x = A\b;
t(n) = toc;
end
plot(t)
test
Parameter
test
Parameter
test
close all
figure;plot(zr)
figure;plot(x1)
figure;plot(zr)
close all
figure;plot(zr)
figure;plot(x1)
figure;plot(x2)
figure;plot(x2dot)
Parameter
close all
figure;plot(zr)
figure;plot(x1)
figure;plot(x2)
figure;plot(x2dot)
close all
figure;plot(x2dot)
figure;plot(zr)
close all
load('FD_FC_FSMC_respond2.mat')
figure;plot(zr)
load('FD_FC_FSMC_respond.mat')
figure;plot(zr)
clear
clc
load('FD_FC_FSMC_respond2.mat')
load('Passive_respond2.mat')
figure;plot(zr)
clear
clc
load('Skyhook_respond2.mat')
figure;plot(zr)
clear
clc
Parameter
figure;plot(zr)
figure;plot(x2dot)
Parameter
figure;plot(zr)
figure;plot(x2dot)
close all
Error
Untitled
legend 'FD-FC-FSMC' 'Skyhook'
Untitled
2257.80933/2234.84908
clear
clc
clear all
close all
clc
idnlgreydemo13
clear
clc
invkine_codepad
clear all
clear
close all
clc
Plot_ICIC
chap7_3plot
chap7_3input
Plot_ICIC
close all
plot_compare
Plot_ICIC
plot_compare
chap7_3plot
clear all
close all
clc
chap6_4plot
NSTSM_plot
clear all
close all
clc
clear all
close all
clc
Parameter
e = [q1.data-q1d.data q2.data-q2d.data];
norm(e,inf)
e = [q1.data-q1d.data q2.data-q2d.data q1_dot.data-q1d_dot.data q2_dot.data-q2d_dot.data];
norm(e,inf)
clear
clc
Main5
Parameter
Example_Animation
plot(q1.data,q2.data)
MATLAB Command History Page 101
May 7, 2019 3:46:17 PM
plot(q1.data,q2.data,':b');
hold on;
fig = plot(q1.data,q2.data,'or');
plot(q1.data,q2.data,':b');
hold on;
n = 1;
x_t = q1.data(n);
y_t = q2.data(n);
Example_Animation
n = 1;
x_t = q1.data(n);
y_t = q2.data(n);
fig = plot(q1.data,q2.data,'or');
hold on;
n = 1;
x_t = q1.data(n);
y_t = q2.data(n);
fig = plot(x_t,y_t,'or');
plot(q1.data,q2.data,':b');
while(1)
n = n + 1;
x_t = x(n);hold on;
n = 1;
x_t = q1.data(n);
y_t = q2.data(n);
fig = plot(x_t,y_t,'or');
y_t = y(n);
set(fig,'xdata',x_t,'ydata',y_t);% update new value of x & y at t
pause(0.01);
if(n == length(q1.data))
n = 1;
end
end
hold off;
plot(q1.data,q2.data,':b');
n = 1;
x_t = q1.data(n);
y_t = q2.data(n);
fig = plot(x_t,y_t,'or');
plot(q1.data,q2.data,':b');
hold on;
n = 1;
x_t = q1.data(n);
y_t = q2.data(n);
fig = plot(x_t,y_t,'or');
while(1)
n = n + 1;
x_t = q1.data(n);
y_t = q2.data(n);
set(fig,'xdata',x_t,'ydata',y_t);% update new value of x & y at t
pause(0.01);
if(n == length(q1.data))
n = 1;
end
end
hold off;
plot(q1.data,q2.data,':b');
hold on;
n = 1;
x_t = q1.data(n);
y_t = q2.data(n);
fig = plot(x_t,y_t,'or');
while(1)
n = n + 1;
x_t = q1.data(n);
y_t = q2.data(n);
set(fig,'xdata',x_t,'ydata',y_t);% update new value of x & y at t
pause(0.001);
if(n == length(q1.data))
n = 1;
end
end
hold off;
hold on
plot(q1.data,q1.data,'--m');
plot(q1.data,q1.data,':b');
hold on
plot(q1.data,q1.data,':b');
x1 = l1*cos(q1.data);
y1 = l1*sin(q1.data);
x2 = x1 + l2cos(q2.data);
y2 = y1 + l2*sin(q2.data);
x1 = l1*cos(q1.data);
y1 = l1*sin(q1.data);
x2 = x1 + l2*cos(q2.data);
y2 = y1 + l2*sin(q2.data);
plot(x1,y1,':b',x2,y2,':r');
x1 = l1*cos(q1.data);
y1 = l1*sin(q1.data);
x2 = x1 + l2*cos(q2.data);
y2 = y1 + l2*sin(q2.data);
plot(x1,y1,':b',x2,y2,':r');
hold on;
n = 1;
x1_t = x1(n);
y1_t = y1(n);
x2_t = x2(n);
y2_t = y2(n);
fig = plot(x1_t,y1_t,'ok',x2_t,y2_t,'ok');
line([0 x1_t(n)],[0 y1_t]);
x1 = l1*cos(q1.data);
y1 = l1*sin(q1.data);
x2 = x1 + l2*cos(q2.data);
y2 = y1 + l2*sin(q2.data);
plot(x1,y1,':b',x2,y2,':r');
axis equal
hold on;
n = 1;
x1_t = x1(n);
y1_t = y1(n);
x2_t = x2(n);
y2_t = y2(n);
fig = plot(x1_t(n),y1_t(n),'ok',x2_t(n),y2_t(n),'ok');
line([0 x1_t(n)],[0 y1_t]);
line([x1_t(n) x2_t(n)],[y1_t(n) y2_t(n)]);
x1 = l1*cos(q1.data);
y1 = l1*sin(q1.data);
x2 = x1 + l2*cos(q2.data);
y2 = y1 + l2*sin(q2.data);
plot(x1,y1,':b',x2,y2,':r');
axis equal
hold on;
n = 1;
MATLAB Command History Page 102
May 7, 2019 3:46:17 PM
x1_t = x1(n);
y1_t = y1(n);
x2_t = x2(n);
y2_t = y2(n);
fig1 = plot(x1_t(n),y1_t(n),'ok');
fig2 = plot(x2_t(n),y2_t(n),'ok');
fig3 = line([0 x1_t(n)],[0 y1_t]);
fig4 = line([x1_t(n) x2_t(n)],[y1_t(n) y2_t(n)]);
while(1)
n = n + 1;
x1_t = x1(n);
y1_t = y1(n);
x2_t = x2(n);
y2_t = y2(n);
set(fig1,'xdata',x1_t,'ydata',y1_t);% update new value of x & y at t
set(fig2,'xdata',x2_t,'ydata',y2_t);
set(fig3,'xdata',[0 x1_t(n)],'ydata',[0 y1_t]);
set(fig2,'xdata',[x1_t(n) x2_t(n)],'ydata',[y1_t(n) y2_t(n)]);
pause(0.001);
if(n == length(q1.data))
n = 1;
end
end
hold off;
x1 = l1*cos(q1.data);
y1 = l1*sin(q1.data);
x2 = x1 + l2*cos(q2.data);
y2 = y1 + l2*sin(q2.data);
plot(x1,y1,':b',x2,y2,':r');
axis equal
hold on;
n = 1;
x1_t = x1(n);
y1_t = y1(n);
x2_t = x2(n);
y2_t = y2(n);
fig1 = plot(x1_t(n),y1_t(n),'ok');
fig2 = plot(x2_t(n),y2_t(n),'ok');
fig3 = line([0 x1_t(n)],[0 y1_t]);
fig4 = line([x1_t(n) x2_t(n)],[y1_t(n) y2_t(n)]);
set(fig3,'xdata',[0 x1_t(n)],'ydata',[0 y1_t]);
set(fig3,'xdata',[0 x1_t(n)],'ydata',[0 0]);
Parameter
clear
clc
%-- 18/04/2019 8:09 AM --%
Parameter
Animation
l1*cos(1.2)
pretty(1.2)
pretty(ans)
1.2
cos(6*pi/5)
cos(1.2)
Animation
cos(1.2*pi)
sin(pi)
Animation
l1*sin(1.2)
l1*sin(1.2*pi)
sin(90)
sin(pi/2)
1.2*3.14
cos(1.2*pi)
cos(1.5*pi)
0.5/0.001
q = [1 1.5];
clear
q = [1 1.5];
l = 1;
x = l*cos(q)
y = l*sin(q)
x = l*cos(q*pi)
y = l*sin(q*pi)
0.5403^2+0.8415^2
q = [1 1.5];
l = 2;
x = l*cos(q)
y = l*sin(q)
L = sqrt(x^2+y^2)
L = sqrt(x.^2+y.^2)
x = l*cos(q*pi)
y = l*sin(q*pi)
L = sqrt(x.^2+y.^2)
Animation
x = l*cos(q*9.8)
y = l*sin(q*9.8)
L = sqrt(x.^2+y.^2)
x_dot = diff(x)
q_dot = (q(2)-q(1))/0.001
-q_dot*l1*sin(q)
-q_dot*l*sin(q)
norm(ans)
norm(ans,2)
x2_dot = (-q_dot*l*sin(q(2))+q_dot*l*sin(q(1)))/0.001
x2_dot = (-q_dot*l*sin(q(2)*pi)+q_dot*l*sin(q(1)*pi))/0.001
(x(2)-x(1))/0.001
x_dot = -q_dot*l*sin(q)
sin(90)
sin(3.14)
sin(1.2)
sin(1.3)
sin(1.4)
sin(1.5)
sin(1.55)
sin(1.555)
sin(1.5555)
sin(1.55555)
sin(1.5555555555555555)
sin(1.6)
sin(1.666666666666)
sin(1.5555555555555555)
sin(1.5555555555555559)
sin(1.58)
sin(1.56)
sin(1.57)
3.14/2
1.2/pi
sin(ans*pi)
sin(1.2)
cos(1.2)
0.9320^2+0.3624^2
Animation
MATLAB Command History Page 103
May 7, 2019 3:46:17 PM
Parameter
clear
Parameter
Animation
clear
clc
asin(0.5)
ans/pi
sin(0.1667*pi)
asin(1)
3.14/2
sin(1.5708)
sin(3.14)
sin(pi)
clar
load('sensor.mat')
Animation
clear
clc
%-- 19/04/2019 8:47 AM --%
alpha = 0.85
642*250
642/2
ans*300
%-- 19/04/2019 8:03 PM --%
save('vector.mat','x','y','z');clear
clear
sin(pi/6)
cos(pi/6)
cos(pi/3)
clear
%-- 20/04/2019 11:41 AM --%
vadG729Example
MicrophoneBeamformerExample
Untitled
figure;plot(FrostOut)
figure;plot(myRecording)
Untitled
%-- 22/04/2019 9:28 AM --%
fuzzy
Parameter
x2dot(5)
x2dot.data(5)
l1
m1
l2
m2
Calculate
plot(To1)
max(To1)
plot(To2)
fuzzy
fuzzy(simple_To2)
fuzzy('simple_To2')
fuzzy('simple_To1')
fuzzy('simple_To2')
clear
clc
Parameter
Main_SMC
clear
Lb = [0 0 0 0 0 0 0 0 0 0 0 0 0 0]; % can duoi cua bien thiet ke
Ub = [100 100 100 100 100 100 100 100 100 100 100 100 100 100]; % can tren cua bien thiet ke
Parameter
norm([e1.data,e2.data],inf)
Main_FD_FC_FSMC1
%-- 23/04/2019 7:30 AM --%
Parameter
Main_FD_FC_FSMC1
norm([e1.data,e2.data],inf)
Main_FD_FC_FSMC1
figure;plot(x1)
Parameter
clear
clc
Parameter
clear
clc
Main_FD_FC_FSMC2
fuzzy('simple_To1')
clear
clc
load('luu2.mat')
a1 = xval(1);
a2 = xval(2);
k1 = xval(3);
k2 = xval(4);
l1 = 1;
l2 = 0.8;
m1 = 1;
m2 = 1;
% Initial position
q1 = 1.2;
q2 = 0.5;
q1_dot = 0;
q2_dot = 0;
a1 = a2;
a1 = 5;a2 = 5;
a2 = 1;
Parameter
clear
clc
load('luu_FD_FC_FSMC2.mat')
rho
rho1_ad
k01
om01
clear
clc
test
figure;plot(x1)
figure;plot(e1)
figure;plot(e2)
norm(e1.data)
norm(e2.data)
clear
clc
test
legend 'norm-e1' 'norm-e2';
title 'rho1 = [1:50]';
test
test2
rho2 = 200;
MATLAB Command History Page 104
May 7, 2019 3:46:17 PM
sim('FD_FC_FSMC');
figure;plot(e1)
figure;plot(e2)
rho1 = 200;
sim('FD_FC_FSMC');
figure;plot(e1)
figure;plot(e2)
test3
l1 = 1;
l2 = 0.8;
m1 = 1;
m2 = 1;
% Initial position
q1 = 1.2;
q2 = 0.5;
q1_dot = 0;
q2_dot = 0;
% Control parameter
a11 = 12;
a12 = 1;
a21 = 12;
a22 = 1;
alpha1 = 0.9;
alpha2 = 0.9;
PHI1 = 1;
PHI2 = 1;
rho1 = 200;
rho2 = 200;
l12 = 24;
l22 = 24;
sim('FD_FC_FSMC');
figure;plot(e1)
figure;plot(e2)
test5
save('survey');
a11 = 200;
a12 = 1;
a21 = 200;
a22 = 1;
alpha1 = 0.8;
alpha2 = 0.8;
PHI1 = 1;
PHI2 = 1;
rho1 = 200;
rho2 = 200;
l12 = 200;
l22 = 200;
sim('FD_FC_FSMC');
figure;plot(e1)
figure;plot(e2)
0.19*200*0
0.19*200*1
0.19/200*1
0.19/200*200
a11 = 1;
a12 = 1;
a21 = 1;
a22 = 1;
alpha1 = 0.8;
alpha2 = 0.8;
PHI1 = 1;
PHI2 = 1;
rho1 = 1;
rho2 = 1;
l12 = 1;
l22 = 1;
sim('FD_FC_FSMC');
figure;plot(e1)
figure;plot(e2)
clear
close all
test
sim('FD_FC_FSMC');
test
var(e1.data)
test
close all
test
%-- 25/04/2019 10:05 AM --%
Parameter
sim('SMC');
save('SMC');
syms l1 l2 m1 m2 x1 x2 x2dot x3 x4 x4dot es_d1 es_d2 deltaTo1 deltaTo2
A = l2^2*m2+l1*l2*m2*cos(x3);
B = m2*l1*l2*sin(x3);
eq1 = x2dot+A*x4dot+(-B*x4^2-2*B*x2*x4)+(m2*l2*9.8*cos(x1+x3)+(m1+m2)*l1*9.8*cos(x1))+0.3*sin(x2)-es_d1==deltaTo1;
eq2 = x4dot+A*x2dot+B*x2^2+m2*l2*9.8*cos(x1+x3)+0.2*sin(x4)-es_d2==deltaTo2;
pret1 = isolate(eq1)
pret1 = isolate(eq1,l1)
pret2 = isolate(eq1,l2)
clc
es_d1
Parameter
save('FD_FC_FSMC2');
es_d1
deltaTo1
clear
Parameter
clc
k = 5;
x1 = x1.data(k);
x2 = x2.data(k);
x2dot = x2dot.data(k);
x3 = x3.data(k);
x4 = x4.data(k);
x4dot = x4dot.data(k);
deltaTo1 = es_To1.data(k);
deltaTo2 = es_To2.data(k);
es_d1 = es_d1.data(k);
es_d2 = es_d2.data(k);
es_d1
syms l1 l2 m1 m2
A = l2^2*m2+l1*l2*m2*cos(x3);
B = m2*l1*l2*sin(x3);
eq1 = x2dot+A*x4dot+(-B*x4^2-2*B*x2*x4)+(m2*l2*9.8*cos(x1+x3)+(m1+m2)*l1*9.8*cos(x1))+0.3*sin(x2)-es_d1-deltaTo1;
eq2 = x4dot+A*x2dot+B*x2^2+m2*l2*9.8*cos(x1+x3)+0.2*sin(x4)-es_d2-deltaTo2;
eqns = [eq1,eq2];
[l1,l2,m1,m2] = solve(eqns,[l1,l2,m1,m2]);
l1
l2
m1
m2
eq1
MATLAB Command History Page 105
May 7, 2019 3:46:17 PM
eqns = [eq1,eq2,eq1,eq2];
[l1,l2,m1,m2] = solve(eqns,[l1,l2,m1,m2]);
eq1 = x2dot+A*x4dot+(-B*x4^2-2*B*x2*x4)+(m2*l2*9.8*cos(x1+x3)+(m1+m2)*l1*9.8*cos(x1))+0.3*sin(x2)-es_d1==deltaTo1;
eq2 = x4dot+A*x2dot+B*x2^2+m2*l2*9.8*cos(x1+x3)+0.2*sin(x4)-es_d2==deltaTo2;
eqns = [eq1,eq2];
%% Compute
[l1,l2,m1,m2] = solve(eqns,[l1,l2,m1,m2]);
eq1 = x2dot+A*x4dot+(-B*x4^2-2*B*x2*x4)+(m2*l2*9.8*cos(x1+x3)+(m1+m2)*l1*9.8*cos(x1))+0.3*sin(x2)-es_d1==deltaTo1;
eq2 = x4dot+A*x2dot+B*x2^2+m2*l2*9.8*cos(x1+x3)+0.2*sin(x4)-es_d2==deltaTo2;
k = 5;
x1 = x1.data(k);
x2 = x2.data(k);
x2dot = x2dot.data(k);
x3 = x3.data(k);
x4 = x4.data(k);
x4dot = x4dot.data(k);
deltaTo1 = es_To1.data(k);
deltaTo2 = es_To2.data(k);
es_d1 = es_d1.data(k);
es_d2 = es_d2.data(k);
syms l1 l2 m1 m2
A = l2^2*m2+l1*l2*m2*cos(x3);
B = m2*l1*l2*sin(x3);
clc
clear
load('FD_FC_FSMC2.mat')
k = 5;
x1 = x1.data(k);
x2 = x2.data(k);
x2dot = x2dot.data(k);
x3 = x3.data(k);
x4 = x4.data(k);
x4dot = x4dot.data(k);
deltaTo1 = es_To1.data(k);
deltaTo2 = es_To2.data(k);
es_d1 = es_d1.data(k);
es_d2 = es_d2.data(k);
syms l1 l2 m1 m2
A = l2^2*m2+l1*l2*m2*cos(x3);
B = m2*l1*l2*sin(x3);
eq1 = x2dot+A*x4dot+(-B*x4^2-2*B*x2*x4)+(m2*l2*9.8*cos(x1+x3)+(m1+m2)*l1*9.8*cos(x1))+0.3*sin(x2)-es_d1==deltaTo1;
eq2 = x4dot+A*x2dot+B*x2^2+m2*l2*9.8*cos(x1+x3)+0.2*sin(x4)-es_d2==deltaTo2;
eq1
eq2
eqns = [eq1,eq2];
eqns = [eq1,eq2]
[l1,l2,m1,m2] = solve(eqns,[l1,l2,m1,m2]);
l1
clear
load('FD_FC_FSMC2.mat')
k = 5;
x1 = x1.data(k);
x2 = x2.data(k);
x2dot = x2dot.data(k);
x3 = x3.data(k);
x4 = x4.data(k);
x4dot = x4dot.data(k);
deltaTo1 = es_To1.data(k);
deltaTo2 = es_To2.data(k);
es_d1 = es_d1.data(k);
es_d2 = es_d2.data(k);
syms m1 m2
A = l2^2*m2+l1*l2*m2*cos(x3);
B = m2*l1*l2*sin(x3);
eq1 = x2dot+A*x4dot+(-B*x4^2-2*B*x2*x4)+(m2*l2*9.8*cos(x1+x3)+(m1+m2)*l1*9.8*cos(x1))+0.3*sin(x2)-es_d1==deltaTo1;
eq2 = x4dot+A*x2dot+B*x2^2+m2*l2*9.8*cos(x1+x3)+0.2*sin(x4)-es_d2==deltaTo2;
eqns = [eq1,eq2];
%% Compute
[m1,m2] = solve(eqns,[m1,m2])
m1
m1+1
m2
pretty(m2)
round(m2)
clear
clc
Parameter
clc
clear
clc
load('FD_FC_FSMC2.mat')
k = 5;
x1 = x1.data(k);
x2 = x2.data(k);
x2dot = x2dot.data(k);
x3 = x3.data(k);
x4 = x4.data(k);
x4dot = x4dot.data(k);
deltaTo1 = es_To1.data(k);
deltaTo2 = es_To2.data(k);
es_d1 = es_d1.data(k);
es_d2 = es_d2.data(k);
syms m1 m2
A = l2^2*m2+l1*l2*m2*cos(x3);
B = m2*l1*l2*sin(x3);
eq1 = x2dot+A*x4dot+(-B*x4^2-2*B*x2*x4)+(m2*l2*9.8*cos(x1+x3)+(m1+m2)*l1*9.8*cos(x1))+0.3*sin(x2)-es_d1==deltaTo1;
eq2 = x4dot+A*x2dot+B*x2^2+m2*l2*9.8*cos(x1+x3)+0.2*sin(x4)-es_d2==deltaTo2;
eqns = [eq1,eq2];
isolate(eq1,m1)
isolate(eqns,m1)
isolate(eq2,m1)
isolate(eq2,m2)
syms m1 m2 l1 l2 x1 x2 x2dot x3 x4 x4dot deltaTo1 deltaTo2 es_d1 es_d2
A = l2^2*m2+l1*l2*m2*cos(x3);
B = m2*l1*l2*sin(x3);
eq1 = x2dot+A*x4dot+(-B*x4^2-2*B*x2*x4)+(m2*l2*9.8*cos(x1+x3)+(m1+m2)*l1*9.8*cos(x1))+0.3*sin(x2)-es_d1==deltaTo1;
eq2 = x4dot+A*x2dot+B*x2^2+m2*l2*9.8*cos(x1+x3)+0.2*sin(x4)-es_d2==deltaTo2;
isolate(eq1,m1)
isolate(eq2,m1)
isolate(eq2,m2)
isolate(eq1,m2)
ful = -(x2dot - es_d1 - deltaTo1 + (3*sin(x2))/10 + (49*l1*m1*cos(x1))/5)/(x4dot*(l2^2 + l1*cos(x3)*l2) + (49*l2*cos(x1 + x3))/5 + (49*l1*cos(x1))/5 - l1*l2*x4^2*sin(x3) -
2*l1*l2*x2*x4*sin(x3))==(deltaTo2 + es_d2 - x4dot - sin(x4)/5)/(x2dot*(l2^2 + l1*cos(x3)*l2) + (49*l2*cos(x1 + x3))/5 + l1*l2*x2^2*sin(x3));
isolate(ful,m1)
isolate(ful,m2)
clear
clc
load('FD_FC_FSMC2.mat')
k = 5;
x1 = x1.data(k);
x2 = x2.data(k);
x2dot = x2dot.data(k);
x3 = x3.data(k);
MATLAB Command History Page 106
May 7, 2019 3:46:17 PM
x4 = x4.data(k);
x4dot = x4dot.data(k);
deltaTo1 = es_To1.data(k);
deltaTo2 = es_To2.data(k);
es_d1 = es_d1.data(k);
es_d2 = es_d2.data(k);
syms var1 var2 var3 var4
% var1 = delta_l1; var2 = delta_l2; var3 = delta_m1; var4 = delta_m2;
A = var2^2*var4+var1*var2*var4*cos(x3);
B = var4*var1*var2*sin(x3);
eq1 = deltaTo1 == x2dot+A*x4dot+(-B*x4^2-2*B*x2*x4)+(var4*var2*9.8*cos(x1+x3)+(var3+var4)*var1*9.8*cos(x1))+0.3*sin(x2)-es_d1;
eq2 = deltaTo2 == x4dot+A*x2dot+B*x2^2+var4*var2*9.8*cos(x1+x3)+0.2*sin(x4)-es_d2;
eq3 = To1 + deltaTo1 == x2dot+A*x4dot+(-B*x4^2-2*B*x2*x4)+(var4*var2*9.8*cos(x1+x3)+(var3+var4)*var1*9.8*cos(x1))+0.3*sin(x2)-es_d1;
eq4 = To2 + deltaTo2 == x4dot+A*x2dot+B*x2^2+var4*var2*9.8*cos(x1+x3)+0.2*sin(x4)-es_d2;
us1
To1 = us1.data(k);
To2 = us2.data(k);
syms var1 var2 var3 var4
% var1 = delta_l1; var2 = delta_l2; var3 = delta_m1; var4 = delta_m2;
A = var2^2*var4+var1*var2*var4*cos(x3);
B = var4*var1*var2*sin(x3);
eq1 = deltaTo1 == x2dot+A*x4dot+(-B*x4^2-2*B*x2*x4)+(var4*var2*9.8*cos(x1+x3)+(var3+var4)*var1*9.8*cos(x1))+0.3*sin(x2)-es_d1;
eq2 = deltaTo2 == x4dot+A*x2dot+B*x2^2+var4*var2*9.8*cos(x1+x3)+0.2*sin(x4)-es_d2;
eq3 = To1 + deltaTo1 == x2dot+A*x4dot+(-B*x4^2-2*B*x2*x4)+(var4*var2*9.8*cos(x1+x3)+(var3+var4)*var1*9.8*cos(x1))+0.3*sin(x2)-es_d1;
eq4 = To2 + deltaTo2 == x4dot+A*x2dot+B*x2^2+var4*var2*9.8*cos(x1+x3)+0.2*sin(x4)-es_d2;
eqns = [eq1,eq2,eq3,eq4];
eqns = [eq1,eq2,eq3,eq4]
[var1,var2,var3,var4] = solve(eqns,[var1,var2,var3,var4])
solve(eqns,[var1,var2,var3,var4])
Y = solve(eqns,[var1,var2,var3,var4])
[y1 y2 y3 y4] = solve(eqns,[var1,var2,var3,var4])
syms var1 var2 var3 var4
% var1 = delta_l1; var2 = delta_l2; var3 = delta_m1; var4 = delta_m2;
A = var2^2*var4+var1*var2*var4*cos(x3);
B = var4*var1*var2*sin(x3);
eq1 = deltaTo1 == x2dot+A*x4dot+(-B*x4^2-2*B*x2*x4)+(var4*var2*9.8*cos(x1+x3)+(var3+var4)*var1*9.8*cos(x1))+0.3*sin(x2)-es_d1;
eq2 = deltaTo2 == x4dot+A*x2dot+B*x2^2+var4*var2*9.8*cos(x1+x3)+0.2*sin(x4)-es_d2;
eq3 = To1 + deltaTo1 == x2dot+A*x4dot+(-B*x4^2-2*B*x2*x4)+(var4*var2*9.8*cos(x1+x3)+(var3+var4)*var1*9.8*cos(x1))+0.3*sin(x2)-es_d1;
eq4 = To2 + deltaTo2 == x4dot+A*x2dot+B*x2^2+var4*var2*9.8*cos(x1+x3)+0.2*sin(x4)-es_d2;
eqns = [eq1,eq2,eq3,eq4];
[y1 y2 y3 y4] = solve(eqns,[var1,var2,var3,var4])
isolate(eq1,l1)
clear
clc
syms var1 var2 var3 var4 x1 x2 x2dot x3 x4 x4dot deltaTo1 deltaTo2 es_d1 es_d2 To1 To2
% var1 = delta_l1; var2 = delta_l2; var3 = delta_m1; var4 = delta_m2;
A = var2^2*var4+var1*var2*var4*cos(x3);
B = var4*var1*var2*sin(x3);
eq1 = deltaTo1 == x2dot+A*x4dot+(-B*x4^2-2*B*x2*x4)+(var4*var2*9.8*cos(x1+x3)+(var3+var4)*var1*9.8*cos(x1))+0.3*sin(x2)-es_d1;
eq2 = deltaTo2 == x4dot+A*x2dot+B*x2^2+var4*var2*9.8*cos(x1+x3)+0.2*sin(x4)-es_d2;
eq3 = To1 + deltaTo1 == x2dot+A*x4dot+(-B*x4^2-2*B*x2*x4)+(var4*var2*9.8*cos(x1+x3)+(var3+var4)*var1*9.8*cos(x1))+0.3*sin(x2)-es_d1;
eq4 = To2 + deltaTo2 == x4dot+A*x2dot+B*x2^2+var4*var2*9.8*cos(x1+x3)+0.2*sin(x4)-es_d2;
f1 = isolate(eq1,l1)
f1 = isolate(eq1,var1)
f2 = isolate(eq2,var2)
f3 = isolate(eq3,var3)
f4 = isolate(eq4,var4)
clear
syms var1 var2 var3 var4 x1 x2 x2dot x3 x4 x4dot deltaTo1 deltaTo2 es_d1 es_d2 To1 To2
% var1 = delta_l1; var2 = delta_l2; var3 = delta_m1; var4 = delta_m2;
A = var2^2*var4+var1*var2*var4*cos(x3);
B = var4*var1*var2*sin(x3);
eq1 = deltaTo1 == x2dot+A*x4dot+(-B*x4^2-2*B*x2*x4)+(var4*var2*9.8*cos(x1+x3)+(var3+var4)*var1*9.8*cos(x1))+0.3*sin(x2)-es_d1;
eq2 = deltaTo2 == x4dot+A*x2dot+B*x2^2+var4*var2*9.8*cos(x1+x3)+0.2*sin(x4)-es_d2;
C = (l2+var2)^2*(m2+var4)+(l1+var1)*(l2+var2)*(m2+var4)*cos(x3);
D = (m2+var4)*(l1+var1)*(l2+var2)*sin(x3);
eq3 = To1 + deltaTo1 == x2dot+C*x4dot+(-D*x4^2-2*D*x2*x4)+((m2+var4)*(l2+var2)*9.8*cos(x1+x3)+((m1+var3)+(m2+var4))*(l1+var1)*9.8*cos(x1))+0.3*sin(x2)-es_d1;
eq4 = To2 + deltaTo2 == x4dot+C*x2dot+D*x2^2+(m2+var4)*(l2+var2)*9.8*cos(x1+x3)+0.2*sin(x4)-es_d2;
syms var1 var2 var3 var4 x1 x2 x2dot x3 x4 x4dot deltaTo1 deltaTo2 es_d1 es_d2 To1 To2 l1 l2 m1 m2
% var1 = delta_l1; var2 = delta_l2; var3 = delta_m1; var4 = delta_m2;
A = var2^2*var4+var1*var2*var4*cos(x3);
B = var4*var1*var2*sin(x3);
eq1 = deltaTo1 == x2dot+A*x4dot+(-B*x4^2-2*B*x2*x4)+(var4*var2*9.8*cos(x1+x3)+(var3+var4)*var1*9.8*cos(x1))+0.3*sin(x2)-es_d1;
eq2 = deltaTo2 == x4dot+A*x2dot+B*x2^2+var4*var2*9.8*cos(x1+x3)+0.2*sin(x4)-es_d2;
C = (l2+var2)^2*(m2+var4)+(l1+var1)*(l2+var2)*(m2+var4)*cos(x3);
D = (m2+var4)*(l1+var1)*(l2+var2)*sin(x3);
eq3 = To1 + deltaTo1 == x2dot+C*x4dot+(-D*x4^2-2*D*x2*x4)+((m2+var4)*(l2+var2)*9.8*cos(x1+x3)+((m1+var3)+(m2+var4))*(l1+var1)*9.8*cos(x1))+0.3*sin(x2)-es_d1;
eq4 = To2 + deltaTo2 == x4dot+C*x2dot+D*x2^2+(m2+var4)*(l2+var2)*9.8*cos(x1+x3)+0.2*sin(x4)-es_d2;
f3 = isolate(eq3,var3)
f4 = isolate(eq4,var4)
clear
clc
Parameter
clear
test_solver
var1
var4
f1
test_solver
clear
clc
test_solver
var1 = -(var4*x4dot*var2^2 + (49*var4*cos(x1 + x3)*var2)/5 - deltaTo1 - es_d1 + x2dot + (3*sin(x2))/10)/(- var2*var4*sin(x3)*x4^2 - 2*var2*var4*x2*sin(x3)*x4 + (49*cos(x1)*(var3 + var4))/5
+ var2*var4*x4dot*cos(x3));
var2 = -(49*var4*cos(x1 + x3) + 5*((var4*(100*deltaTo2*x2dot + 100*es_d2*x2dot - 100*x2dot*x4dot - 20*x2dot*sin(x4) + 2401*var4*cos(x1)^2*cos(x3)^2 + 2401*var4*sin(x1)^2*sin(x3)^2 +
25*var1^2*var4*x2dot^2*cos(x3)^2 + 25*var1^2*var4*x2^4*sin(x3)^2 - 490*var1*var4*x2^2*sin(x1)*sin(x3)^2 - 4802*var4*cos(x1)*cos(x3)*sin(x1)*sin(x3) + 490*var1*var4*x2dot*cos(x1)*cos(x3)^2
- 490*var1*var4*x2dot*cos(x3)*sin(x1)*sin(x3) + 50*var1^2*var4*x2^2*x2dot*cos(x3)*sin(x3) + 490*var1*var4*x2^2*cos(x1)*cos(x3)*sin(x3)))/25)^(1/2) + 5*var1*var4*x2^2*sin(x3) +
5*var1*var4*x2dot*cos(x3))/(10*var4*x2dot);
var3 = (5*(sin(x3)*(l1 + var1)*(l2 + var2)*(m2 + var4)*x4^2 + 2*x2*sin(x3)*(l1 + var1)*(l2 + var2)*(m2 + var4)*x4 + To1 + deltaTo1 + es_d1 - x2dot - (3*sin(x2))/10 - x4dot*((l2 + var2)^2*
(m2 + var4) + cos(x3)*(l1 + var1)*(l2 + var2)*(m2 + var4)) - (49*cos(x1)*(l1 + var1)*(m1 + m2 + var4))/5 - (49*cos(x1 + x3)*(l2 + var2)*(m2 + var4))/5))/(49*cos(x1)*(l1 + var1));
var4 = -(m2*sin(x3)*(l1 + var1)*(l2 + var2)*x2^2 - To2 - deltaTo2 - es_d2 + x4dot + sin(x4)/5 + x2dot*(m2*(l2 + var2)^2 + m2*cos(x3)*(l1 + var1)*(l2 + var2)) + (49*m2*cos(x1 + x3)*(l2 +
var2))/5)/((49*cos(x1 + x3)*(l2 + var2))/5 + x2dot*((l2 + var2)^2 + cos(x3)*(l1 + var1)*(l2 + var2)) + x2^2*sin(x3)*(l1 + var1)*(l2 + var2));
solve(var2,var1)
solve
pretty(var1)
pretty(var2)
clear
clc
syms var1 var2 var3 var4 x1 x2 x2dot x3 x4 x4dot deltaTo1 deltaTo2 es_d1 es_d2 To1 To2 l1 l2 m1 m2
% var1 = delta_l1; var2 = delta_l2; var3 = delta_m1; var4 = delta_m2;
A = var2^2*var4+var1*var2*var4*cos(x3);
B = var4*var1*var2*sin(x3);
eq1 = deltaTo1 == x2dot+A*x4dot+(-B*x4^2-2*B*x2*x4)+(var4*var2*9.8*cos(x1+x3)+(var3+var4)*var1*9.8*cos(x1))+0.3*sin(x2)-es_d1;
eq2 = deltaTo2 == x4dot+A*x2dot+B*x2^2+var4*var2*9.8*cos(x1+x3)+0.2*sin(x4)-es_d2;
isolate(eq1,var4)
clear
clc
syms var1 var2 var3 var4 x1 x2 x2dot x3 x4 x4dot deltaTo1 deltaTo2 es_d1 es_d2 To1 To2 l1 l2 m1 m2
% var1 = delta_l1; var2 = delta_l2; var3 = delta_m1; var4 = delta_m2;
delta_To1 = x2dot + (var2^2*var4 + var1*var2*var4*cos(x3))*x4dot - var1*var2*var4*sin(x3)*x4*(x4 - 2*x2) + (9.8*var2*var4*cos(x1+x3) + 9.8*var1*(var3+var4)*cos(x1)) + 0.3*sin(x2) - es_d1;
delta_To2 = x4dot + (var2^2*var4 + var1*var2*var4*cos(x3))*x2dot + (var1*var2*var4*sin(x3)*x2^2) + (9.8*var2*var4*cos(x1+x3)) + 0.2*sin(x4) - es_d2;
isolate(eq1,var4)clear
isolate(eq1,var4)*clearclc
MATLAB Command History Page 107
May 7, 2019 3:46:17 PM
clear
clc
test_solver
clear
clc
test_solver
isolate(eq1,var4)
isolate(eq1,var3)
isolate(eq2,var3)
isolate(eq1,var3)
isolate(eq1,var2)
isolate(eq1,var1)
isolate(eq2,var1)
isolate(eq2,var2)
isolate(eq2,var3)
isolate(eq2,var4)
clear
Parameter
clear
clc
Parameter
clear
test_solver
isolate(eq1,var3)
isolate(eq2,var4)
isolate(eq1,var1)
isolate(eq2,var2)
isolate(eq1,var2)
isolate(eq2,var4)
isolate(eq2,var2)
isolate(eq2,var3)
isolate(eq1,var3)
isolate(eq2,var1)
Parameter
clear
clc
Parameter
clear
load('FD_FC_FSMC2.mat')
figure;plot(e1)
load('FD_FC_FSMC21.mat')
hold on
plot(e1,'r')
load('FD_FC_FSMC21.mat')
Parameter
random('unif',2,6)
%-- 27/04/2019 9:42 AM --%
test_solver
isolate(eq1,var1)
isolate(eq2,var2)
isolate(eq1,var3)
isolate(eq2,var4)
Parameter
l2_min
l2_max
Parameter
max(a11,a12,a21,a22)
max([a11,a12,a21,a22])
Parameter
Parameter
u
u1
u1.data
u.u1
Parameter
close all
clear
Parameter
700/4
Parameter
help
%-- 28/04/2019 10:24 AM --%
Homework1
Homework2a
%-- 29/04/2019 1:09 PM --%
main
%-- 02/05/2019 8:45 AM --%
load('FD_FC_FSMC2.mat')
x2
plot(log(x2.time),x2.time)
plot(x2.time,log(x2.time))
load('SMC.mat')
figure;plot(x2.time,log(x2.time))
Parameter
figure;plot(x2)
figure;plot(x1)
figure;plot(e1)
hold on
plot(x1,'r')
plot(x1d,'m')
hold off
figure;plot(e1)
plot(x1,'r')
plot(x1d,'m')
plot(u1)
plot(u2)
plot(es_d1)
plot(es_d2)
plot(d2)
figure;plot(x2.time,log(x2.time))
load('FD_FC_FSMC2.mat')
figure;plot(x2.time,log(x2.time))
Parameter
figure;plot(tout,log(tout))
load('FD_FC_FSMC2.mat')
figure;plot(tout,log(tout))
Parameter
figure;plot(diff(tout),log(tout))
figure;plot(diff(tout),log(tout(2:end)))
load('FD_FC_FSMC2.mat')
figure;plot(diff(tout),log(tout(2:end)))
Parameter
fuzzy('simple_To1')
fuzzy('simple_To2')
Parameter
fuzzy('simple_To1')
fuzzy('simple_To2')
Parameter
figure;plot(x1)
Parameter
fuzzy('simple_To1')
fuzzy('simple_To2')
Parameter
MATLAB Command History Page 108
May 7, 2019 3:46:17 PM
fuzzy('simple_To2')
fuzzy('simple_To1')
Parameter
figure;plot(o1)
hold on
plot(o2,'r')
Parameter
figure;plot(o1)
hold on
plot(o2,'r')
figure;plot(o1)
hold on
plot(o2,'r')
Parameter
figure;plot(o1)
plot(o2,'r')
figure;plot(o1)
hold on
plot(o2,'r')
Parameter
figure;plot(o1)
hold on
plot(o2,'r')
Parameter
figure;plot(o1)
hold on
plot(o2,'r')
Parameter
figure;plot(é)
figure;plot(e1)
figure;plot(e3)
figure;plot(e2)
figure;plot(e2dot)
figure;plot(u1)
figure;plot(u.u1)
Parameter
clear
a = 4+3i
sqrt(a)
Parameter
figure;plot(u.u1)
figure;plot(u.u2)
figure;plot(u.To1)
figure;plot(To.To1)
figure;plot(To.to1)
figure;plot(To.to2)
figure;plot(us.us1)
figure;plot(us.us2)
figure;plot(Xd.x1)
figure;plot(Xd.x1d)
figure;plot(X.x1)
figure;plot(sys)
figure;plot(sys.M11)
hold on
plot(M12,'r')
plot(sys.M12,'r')
figure;plot(rho_ad.rho_ad1)
figure;plot(rho_ad.rho1_ad)
figure;plot(rho_ad.rho2_ad)
figure;plot(es_d.es_d1)
figure;plot(es_To.es_To1)
figure;plot(es_To.es_To2)
fuzzy('simple_To1')
fuzzy('simple_To2')
figure;plot(es_sys.M11)
figure;plot(sys.M11)
Parameter
figure;plot(es_sys.M11)
figure;plot(sys.M11)
Parameter
figure;plot(sys.M11)
figure;plot(es_sys.M11)
Parameter
figure;plot(es_sys.M11)
figure;plot(sys.M11)
figure;plot(E.e1)
figure;plot(sys.M22)
figure;plot(es_sys.M22)
figure;plot(es_d.es_d1)
figure;plot(dt.d1)
Parameter
figure;plot(dt.d1)
figure;plot(es_d.es_d1)
Parameter
figure;plot(u.u1)
figure;plot(To.to1)
figure;plot(uc.uc1)
figure;plot(us.us1)
fuzzy('simple_To2')
fuzzy('simple_To1')
Parameter
%-- 03/05/2019 1:31 PM --%
Parameter
figure;plot(es_To.es_to1)
figure;plot(es_To.es_To1)
var
figure;plot(var.es_l1)
figure;plot(var.es_l2)
figure;plot(var.es_m1)
figure;plot(var.es_m2)
load('FD_FC_FSMC_road1.mat')
clear
load('FD_FC_FSMC_road1.mat')
b_ks
clear
clc
load('FD_FC_FSMC_road1.mat')
linspace(-1:1)
linspace(-1,1,3)
linspace(-10,10,9)
clear
clc
test_fuzzy2
linspace(-100,100,9)
c=ans;
linspace(-20,20,9)
c=ans;
linspace(-250,250,9)
c=ans;
prod(c)
x1 = -3;x2 = -8
x1 = -3;x2 = -8;
linspace(-250,250,5)
MATLAB Command History Page 109
May 7, 2019 3:46:17 PM
c=ans;
clear
clc
test_fuzzy2
min(2,6)
min(2,6,8)
min([2,6,8])
fuzzy('simple_To1')
linspace(-5,5,5)
c=ans;
%-- 03/05/2019 8:41 PM --%
B = zeros(7,1);
a = [-5,-2.5,-0.5;-2.5,0,2.5;0.5,2.5,5];
b = [-10,-5,-1;-5,0,5;1,5,10];
c = [-250,-125,0,125,250];
length(a)
A = zeros(size(a))
a = [a;b]
length(a)
a = [6 5 4 3 2 1 0
5 4 3 2 1 0 -1
4 3 2 1 0 -1 -2
3 2 1 0 -1 -2 -3
2 1 0 -1 -2 -3 -4
1 0 -1 -2 -3 -4 -5
0 -1 -2 -3 -4 -5 -6
]
a
i=1;j=1;
6-i-j+2
i=1;j=2;
6-i-j+2
i=2;j=1;
6-i-j+2
i=1;j=3;
6-i-j+2
i=1;j=7;
6-i-j+2
i=2;j=7;
6-i-j+2
%-- 04/05/2019 7:33 AM --%
A = linspace(-5,5,7)
load('FD_FC_FSMC_road1.mat')
b_cs
clear
yi = linspace(-250,250,13)
yi = -250 -208 -167 -125 -83 -42 0 42 83 125 167 208 250
b = []
clear
clc
test_fuzzy2
r = zeros(length(yi))
r = zeros(length(yi),1)
r = zeros(1,length(yi))
clc
a
b
a
yi
x1 = 5;x2 = 10;
A = zeros(length(a),1);
A(1,1) = trapmf(x1,[-100,a(1,1),a(1,2),a(1,3)]);
A(length(a),1) = trapmf(x1,[a(7,1),a(7,2),a(7,3),100]);
for i = 2:(length(a)-1)
A(i,1) = trimf(x1,[a(i,1),a(i,2),a(i,3)]);
end
B = zeros(length(b),1);
B(1,1) = trapmf(x2,[-100,b(1,1),b(1,2),b(1,3)]);
B(length(b),1) = trapmf(x2,[b(7,1),b(7,2),b(7,3),100]);
for j = 2:(length(b)-1)
B(j,1) = trimf(x2,[b(j,1),b(j,2),b(j,3)]);
end
law = zeros(length(a),length(b));
for i = 1:length(a)
for j = 1:length(b)
law(i,j) = prod([A(i,1),B(j,1)]);
end
end
clear r
r(1) = law(7,7);
r(2) = sum([law(6,7),law(7,6)]);
r(1,3) = sum([law(5,7),law(6,6),law(7,5)]);
r(1,4) = sum([law(4,7),law(5,6),law(6,5),law(7,4)]);
r(1,5) = sum([law(3,7),law(4,6),law(5,5),law(6,4),law(7,3)]);
r(1,6) = sum([law(2,7),law(3,6),law(4,5),law(5,4),law(6,3),law(7,2)]);
r(1,7) = sum([law(7,1),law(6,2),law(5,3),law(4,4),law(3,5),law(2,6),law(1,7)]);
r(1,8) = sum([law(6,1),law(5,2),law(4,3),law(3,4),law(2,5),law(1,6)]);
r(1,9) = sum([law(5,1),law(4,2),law(3,3),law(2,4),law(1,5)]);
r(1,10) = sum([law(1,4),law(2,3),law(3,2),law(4,1)]);
r(1,11) = sum([law(1,3),law(2,2),law(3,1)]);
r(1,12) = sum([law(2,1),law(1,2)]);
r(1,13) = law(1,1);
yi*r
yi*r'
sum(r)
lambda = r/sum(r)
clear
clc
test_fuzzy2
clear
test_fuzzy2
clear
test_fuzzy2
r = [];
r(1) = 1
r(2) = 1
r(3) = 1
r = ();
r = {};
r = [];
clear
test_fuzzy2
length(a)
x1 = 2;
x2 = 5;
A = zeros(length(a),1);
A(1,1) = trapmf(x1,[-100,a(1,1),a(1,2),a(1,3)]);
A(length(a),1) = trapmf(x1,[a(7,1),a(7,2),a(7,3),100]);
for i = 2:(length(a)-1)
A(i,1) = trimf(x1,[a(i,1),a(i,2),a(i,3)]);
end
%% Input 2: B
B = zeros(length(b),1);
MATLAB Command History Page 110
May 7, 2019 3:46:17 PM
B(1,1) = trapmf(x2,[-100,b(1,1),b(1,2),b(1,3)]);
B(length(b),1) = trapmf(x2,[b(7,1),b(7,2),b(7,3),100]);
for j = 2:(length(b)-1)
B(j,1) = trimf(x2,[b(j,1),b(j,2),b(j,3)]);
end
%% Rules
law = zeros(length(a),length(b));
for i = 1:length(a)
for j = 1:length(b)
law(i,j) = prod([A(i,1),B(j,1)]);
end
end
r = [];
r(1,1) = law(7,7);
r(1,2) = sum([law(6,7),law(7,6)]);
r(1,3) = sum([law(5,7),law(6,6),law(7,5)]);
r(1,4) = sum([law(4,7),law(5,6),law(6,5),law(7,4)]);
r(1,5) = sum([law(3,7),law(4,6),law(5,5),law(6,4),law(7,3)]);
r(1,6) = sum([law(2,7),law(3,6),law(4,5),law(5,4),law(6,3),law(7,2)]);
r(1,7) = sum([law(7,1),law(6,2),law(5,3),law(4,4),law(3,5),law(2,6),law(1,7)]);
r(1,8) = sum([law(6,1),law(5,2),law(4,3),law(3,4),law(2,5),law(1,6)]);
r(1,9) = sum([law(5,1),law(4,2),law(3,3),law(2,4),law(1,5)]);
r(1,10) = sum([law(1,4),law(2,3),law(3,2),law(4,1)]);
r(1,11) = sum([law(1,3),law(2,2),law(3,1)]);
r(1,12) = sum([law(2,1),law(1,2)]);
r(1,13) = law(1,1);
y = (yi*r')/sum(r);
lambda = r/sum(r);
y
clear
test_fuzzy2
fuzzy('simple_To1')
yi = linspace(-5,5,13)
test_fuzzy2
clear
clc
test_fuzzy2
clea
clear
test_fuzzy2
clear
test_fuzzy2
Parameter
clear
clc
Parameter
%-- 05/05/2019 5:23 AM --%
Parameter
main2
clear
clc
close all
a = 0;b = 1;T = 0.1;
alpha = 1;N = 25; M = 200;
U0 = @(x) sin(pi*x);
exact_sol = @(x,t) exp(-pi^2*t)*sin(pi*x');
[x1,t1,U1,err1] = FTCS_scheme(alpha,a,b,T,N,M,U0,exact_sol);
[x2,t2,U2,err2] = BTCS_scheme(alpha,a,b,T,N,M,U0,exact_sol);
[x3,t3,U3,err3] = C_N_scheme(alpha,a,b,T,N,M,U0,exact_sol);
figure; subplot(2,2,1); mesh(x,t,exact_sol(x,t)); % X(j), Y(i), Z(i,j)
xlabel('x');
ylabel('t');
zlabel('u(x,t)');
title('exact solution');
% Mesh approximated U - FTCS
subplot(2,2,2); mesh(x1,t1,U1');
xlabel('x');
ylabel('t');
zlabel('u(x,t)');
title('Approximate solution - FTCS');
% Mesh approximated U - BTCS
subplot(2,2,3); mesh(x2,t2,U2');
xlabel('x');
ylabel('t');
zlabel('u(x,t)');
title('Approximate solution - BTCS');
% Mesh approximated U - Crank - Niclson
subplot(2,2,4); mesh(x3,t3,U3');
xlabel('x');
ylabel('t');
zlabel('u(x,t)');
title('Approximate solution - Crank-Niclson');
figure; subplot(2,2,1); mesh(x,t,exact_sol(x,t)); % X(j), Y(i), Z(i,j)
xlabel('x1');
ylabel('t1');
zlabel('u(x,t)');
title('exact solution');
figure; subplot(2,2,1); mesh(x,t,exact_sol(x,t)); % X(j), Y(i), Z(i,j)
figure; subplot(2,2,1); mesh(x1,t,exact_sol(x,t)); % X(j), Y(i), Z(i,j)
xlabel('x');
ylabel('t');
zlabel('u(x,t)');
title('exact solution');
% Mesh approximated U - FTCS
subplot(2,2,2); mesh(x1,t1,U1');
xlabel('x');
ylabel('t');
zlabel('u(x,t)');
title('Approximate solution - FTCS');
% Mesh approximated U - BTCS
subplot(2,2,3); mesh(x2,t2,U2');
xlabel('x');
ylabel('t');
zlabel('u(x,t)');
title('Approximate solution - BTCS');
% Mesh approximated U - Crank - Niclson
subplot(2,2,4); mesh(x3,t3,U3');
xlabel('x');
ylabel('t');
zlabel('u(x,t)');
title('Approximate solution - Crank-Niclson');
figure; subplot(2,2,1); mesh(x1,t1,exact_sol(x,t)); % X(j), Y(i), Z(i,j)
xlabel('x');
ylabel('t');
zlabel('u(x,t)');
title('exact solution');
% Mesh approximated U - FTCS
subplot(2,2,2); mesh(x1,t1,U1');
xlabel('x');
ylabel('t');
zlabel('u(x,t)');
title('Approximate solution - FTCS');
% Mesh approximated U - BTCS
MATLAB Command History Page 111
May 7, 2019 3:46:17 PM
subplot(2,2,3); mesh(x2,t2,U2');
xlabel('x');
ylabel('t');
zlabel('u(x,t)');
title('Approximate solution - BTCS');
% Mesh approximated U - Crank - Niclson
subplot(2,2,4); mesh(x3,t3,U3');
xlabel('x');
ylabel('t');
zlabel('u(x,t)');
title('Approximate solution - Crank-Niclson');
figure; subplot(2,2,1); mesh(x1,t1,exact_sol(x,t)); % X(j), Y(i), Z(i,j)
xlabel('x');
ylabel('t');
zlabel('u(x,t)');
title('exact solution');
figure; subplot(2,2,1); mesh(x1,t1,exact_sol(x,t)); % X(j), Y(i), Z(i,j)
figure; subplot(2,2,1); mesh(x1,t1,exact_sol(x1,t)); % X(j), Y(i), Z(i,j)
figure; subplot(2,2,1); mesh(x1,t1,exact_sol(x1,t1)); % X(j), Y(i), Z(i,j)
figure; subplot(2,2,1); mesh(x1,t1,exact_sol(x1,t1)); % X(j), Y(i), Z(i,j)
xlabel('x1');
ylabel('t');
zlabel('u(x,t)');
title('exact solution');
% Mesh approximated U - FTCS
subplot(2,2,2); mesh(x1,t1,U1');
xlabel('x');
ylabel('t');
zlabel('u(x,t)');
title('Approximate solution - FTCS');
% Mesh approximated U - BTCS
subplot(2,2,3); mesh(x2,t2,U2');
xlabel('x');
ylabel('t');
zlabel('u(x,t)');
title('Approximate solution - BTCS');
% Mesh approximated U - Crank - Niclson
subplot(2,2,4); mesh(x3,t3,U3');
xlabel('x');
ylabel('t');
zlabel('u(x,t)');
title('Approximate solution - Crank-Niclson');
err_t1 = norm(U1'-exact_sol(x,t),inf);
fprintf('FTCS: Error of t is %d \n',err_t1);
err_t2 = norm(U2'-exact_sol(x,t),inf);
fprintf('BTCS: Error of t is %d \n',err_t2);
err_t3 = norm(U3'-exact_sol(x,t),inf);
fprintf('C-N: Error of t is %d \n',err_t3);
figure;
plot(1:M+1,err,'-o');grid on;
xlabel('M');ylabel('err_t');title('Error of t');
err_t1 = norm(U1'-exact_sol(x,t),inf);
fprintf('FTCS: Error of t is %d \n',err_t1);
err_t2 = norm(U2'-exact_sol(x,t),inf);
fprintf('BTCS: Error of t is %d \n',err_t2);
err_t3 = norm(U3'-exact_sol(x,t),inf);
fprintf('C-N: Error of t is %d \n',err_t3);
err_t1 = norm(U1'-exact_sol(x1,t1),inf);
fprintf('FTCS: Error of t is %d \n',err_t1);
err_t2 = norm(U2'-exact_sol(x2,t2),inf);
fprintf('BTCS: Error of t is %d \n',err_t2);
err_t3 = norm(U3'-exact_sol(x3,t3),inf);
fprintf('C-N: Error of t is %d \n',err_t3);
figure;
plot(1:M+1,err1,'-ob',1:M+1,err2,'-or',1:M+1,err3,'-om');grid on;
xlabel('M');ylabel('err_t');title('Error of t');
err_t1 = norm(U1'-exact_sol(x1,t1),inf);
fprintf('FTCS: Error of t is %d \n',err_t1);
err_t2 = norm(U2'-exact_sol(x2,t2),inf);
fprintf('BTCS: Error of t is %d \n',err_t2);
err_t3 = norm(U3'-exact_sol(x3,t3),inf);
fprintf('C-N: Error of t is %d \n',err_t3);
figure;
plot(1:M+1,err1,'-ob',1:M+1,err2,'-^r',1:M+1,err3,'-sm');grid on;
xlabel('M');ylabel('err_t');title('Error of t');
err_x1 = zeros(1,N);
for ii = 1:N
[x1,t1,U1,err1] = FTCS_scheme(alpha,a,b,T,N,M,U0,exact_sol);
% err_x(ii) = norm(err);
err_x1(ii) = norm(U1'-exact_sol(x1,t1),inf);
end
err_x2 = zeros(1,N);
for ii = 1:N
[x2,t2,U2,err2] = FTCS_scheme(alpha,a,b,T,N,M,U0,exact_sol);
% err_x(ii) = norm(err);
err_x2(ii) = norm(U2'-exact_sol(x2,t2),inf);
end
err_x3 = zeros(1,N);
for ii = 1:N
[x3,t3,U3,err3] = FTCS_scheme(alpha,a,b,T,N,M,U0,exact_sol);
% err_x(ii) = norm(err);
err_x3(ii) = norm(U3'-exact_sol(x3,t3),inf);
end
figure; plot(1:N,err_x1,'-ob',1:N,err_x2,'-^r',1:N,err_x3,'-sm');grid on;
xlabel('N');ylabel('err_x');title('Error of x');
legend 'FTCS' 'BTCS' 'Crank-Nielson'
%-- 06/05/2019 12:13 PM --%
clc
x_dot = [0;0.000999999833333342;0.00199999866666693;0.00299999550000203;0.00399998933334187;0.00499997916669271;0.00599996400006480;0.00699994283347339;0.00799991466693973;
0.00899987850049208;0.00999983333416666;0.0109997781680088;0.0119997120020736;0.0129996338364274;0.0139995426711485;0.0149994375063281;0.0159993173420714;0.0169991811784987;
0.0179990280157463;0.0189988568539673;0.0199986666933331;0.0209984565340338;0.0219982253762798;0.0229979722203022;0.0239976960663543;0.0249973959147123;0.0259970707656765;
0.0269967196195722;0.0279963414767504;0.0289959353375895;0.0299955002024957;0.0309950350719041;0.0319945389462801;0.0329940108261198;0.0339934497119515;0.0349928546043362;
0.0359922245038693;0.0369915584111808;0.0379908553269370;0.0389901142518411;0.0399893341866342;0.0409885141320964;0.0419876530890479;0.0429867500583498;0.0439858040409052;
0.0449848140376602;0.0459837790496050;0.0469826980777745;0.0479815701232499;0.0489803941871592;0.0499791692706783;0.0509778943750324;0.0519765685014963;0.0529751906513960;
0.0539737598261096;0.0549722750270677;0.0559707352557555;0.0569691395137126;0.0579674868025350;0.0589657761238754;0.0599640064794446;0.0609621768710123;0.0619602863004082;
0.0629583337695230;0.0639563182803093;0.0649542388347826;0.0659520944350225;0.0669498840831735;0.0679476067814459;0.0689452615321172;0.0699428473375328;0.0709403632001068;
0.0719378081223236;0.0729351811067382;0.0739324811559777;0.0749297072727423;0.0759268584598059;0.0769239337200173;0.0779209320563015;0.0789178524716600;0.0799146939691727;
0.0809114555519981;0.0819081362233746;0.0829047349866217;0.0839012508451408;0.0848976828024160;0.0858940298620155;0.0868902910275923;0.0878864653028853;0.0888825516917203;
0.0898785491980110;0.0908744568257601;0.0918702735790598;0.0928659984620937;0.0938616304791368;0.0948571686345573;0.0958526119328170;0.0968479593784728;0.0978432099761773;
0.0988383627306800;0.0998334166468282;0.100828370729568;0.101823223983946;0.102817975415108;0.103812624028303;0.104807168828882;0.105801608822302;0.106795943014122;0.107790170410007;
0.108784290015732;0.109778300837175;0.110772201880326;0.111765992151285;0.112759670656261;0.113753236401576;0.114746688393664;0.115740025639073;0.116733247144466;0.117726351916621;
0.118719338962435;0.119712207288919;0.120704955903206;0.121697583812548;0.122690090024315;0.123682473546003;0.124674733385228;0.125666868549729;0.126658878047373;0.127650760886149;
0.128642516074174;0.129634142619695;0.130625639531083;0.131617005816843;0.132608240485608;0.133599342546144;0.134590311007348;0.135581144878253;0.136571843168024;0.137562404885963;
0.138552829041508;0.139543114644237;0.140533260703862;0.141523266230238;0.142513130233360;0.143502851723363;0.144492429710526;0.145481863205272;0.146471151218167;0.147460292759923;
0.148449286841398;0.149438132473599;0.150426828667680;0.151415374434945;0.152403768786848;0.153392010734995;0.154380099291143;0.155368033467206;0.156355812275248;0.157343434727491;
0.158330899836312;0.159318206614246;0.160305354073987;0.161292341228387;0.162279167090460;0.163265830673379;0.164252330990481;0.165238667055266;0.166224837881397;0.167210842482704;
0.168196679873183;0.169182349066996;0.170167849078474;0.171153178922117;0.172138337612595;0.173123324164751;0.174108137593596;0.175092776914318;0.176077241142278;0.177061529293012;
0.178045640382231;0.179029573425824;0.180013327439859;0.180996901440582;0.181980294444418;0.182963505467975;0.183946533528041;0.184929377641590;0.185912036825776;0.186894510097941;
0.187876796475611;0.188858894976501;0.189840804618511;0.190822524419732;0.191804053398445;0.192785390573121;0.193766534962422;0.194747485585204;0.195728241460517;0.196708801607605;
0.197689165045907;0.198669330795061;0.199649297874901;0.200629065305459;0.201608632106969;0.202587997299864;0.203567159904778;0.204546118942549;0.205524873434219;0.206503422401032;
0.207481764864439;0.208459899846100;0.209437826367877;0.210415543451846;0.211393050120289;0.212370345395700;0.213347428300782;0.214324297858455;0.215300953091847;0.216277393024304;
0.217253616679386;0.218229623080869;0.219205411252748;0.220180980219234;0.221156329004757;0.222131456633970;0.223106362131745;0.224081044523177;0.225055502833583;0.226029736088504;
0.227003743313708;0.227977523535188;0.228951075779164;0.229924399072082;0.230897492440621;0.231870354911687;0.232842985512417;0.233815383270181;0.234787547212581;0.235759476367453;
MATLAB Command History Page 112
May 7, 2019 3:46:17 PM
0.236731169762869;0.237702626427135;0.238673845388794;0.239644825676627;0.240615566319655;0.241586066347137;0.242556324788572;0.243526340673703;0.244496113032513;0.245465640895231;
0.246434923292328;0.247403959254523;0.248372747812779;0.249341287998308;0.250309578842569;0.251277619377273;0.252245408634378;0.253212945646096;0.254180229444889;0.255147259063473;
0.256114033534820;0.257080551892155;0.258046813168959;0.259012816398972;0.259978560616190;0.260944044854869;0.261909268149524;0.262874229534934;0.263838928046136;0.264803362718431;
0.265767532587387;0.266731436688831;0.267695074058861;0.268658443733840;0.269621544750397;0.270584376145432;0.271546936956113;0.272509226219880;0.273471242974443;0.274432986257786;
0.275394455108166;0.276355648564114;0.277316565664436;0.278277205448215;0.279237566954813;0.280197649223866;0.281157451295294;0.282116972209294;0.283076211006345;0.284035166727209;
0.284993838412929;0.285952225104836;0.286910325844540;0.287868139673943;0.288825665635230;0.289782902770876;0.290739850123643;0.291696506736584;0.292652871653042;0.293608943916654;
0.294564722571346;0.295520206661340;0.296475395231151;0.297430287325593;0.298384881989772;0.299339178269093;0.300293175209262;0.301246871856280;0.302200267256451;0.303153360456380;
0.304106150502975;0.305058636443444;0.306010817325301;0.306962692196368;0.307914260104767;0.308865520098932;0.309816471227603;0.310767112539828;0.311717443084967;0.312667461912688;
0.313617168072974;0.314566560616118;0.315515638592727;0.316464401053724;0.317412847050347;0.318360975634148;0.319308785857001;0.320256276771094;0.321203447428938;0.322150296883360;
0.323096824187513;0.324043028394868;0.324988908559222;0.325934463734695;0.326879692975731;0.327824595337101;0.328769169873903;0.329713415641563;0.330657331695834;0.331600917092802;
0.332544170888880;0.333487092140814;0.334429679905685;0.335371933240903;0.336313851204216;0.337255432853706;0.338196677247791;0.339137583445227;0.340078150505108;0.341018377486867;
0.341958263450277;0.342897807455451;0.343837008562847;0.344775865833263;0.345714378327842;0.346652545108071;0.347590365235784;0.348527837773161;0.349464961782729;0.350401736327365;
0.351338160470293;0.352274233275090;0.353209953805683;0.354145321126352;0.355080334301729;0.356014992396802;0.356949294476911;0.357883239607756;0.358816826855392;0.359750055286230;
0.360682923967043;0.361615431964962;0.362547578347479;0.363479362182448;0.364410782538086;0.365341838482971;0.366272529086048;0.367202853416626;0.368132810544382;0.369062399539357;
0.369991619471964;0.370920469412983;0.371848948433563;0.372777055605225;0.373704789999863;0.374632150689742;0.375559136747501;0.376485747246155;0.377411981259094;0.378337837860082;
0.379263316123264;0.380188415123161;0.381113133934676;0.382037471633087;0.382961427294060;0.383884999993636;0.384808188808245;0.385730992814697;0.386653411090188;0.387575442712301;
0.388497086759003;0.389418342308651;0.390339208439988;0.391259684232150;0.392179768764660;0.393099461117435;0.394018760370780;0.394937665605399;0.395856175902384;0.396774290343227;
0.397692008009812;0.398609327984423;0.399526249349739;0.400442771188838;0.401358892585200;0.402274612622703;0.403189930385627;0.404104844958654;0.405019355426869;0.405933460875763;
0.406847160391230;0.407760453059570;0.408673337967491;0.409585814202109;0.410497880850946;0.411409537001937;0.412320781743425;0.413231614164165;0.414142033353326;0.415052038400488;
0.415961628395646;0.416870802429211;0.417779559592008;0.418687898975279;0.419595819670687;0.420503320770311;0.421410401366648;0.422317060552619;0.423223297421565;0.424129111067249;
0.425034500583857;0.425939465066000;0.426844003608713;0.427748115307458;0.428651799258124;0.429555054557026;0.430457880300909;0.431360275586948;0.432262239512747;0.433163771176343;
0.434064869676203;0.434965534111230;0.435865763580759;0.436765557184561;0.437664914022843;0.438563833196246;0.439462313805853;0.440360354953183;0.441257955740195;0.442155115269287;
0.443051832643301;0.443948106965520;0.444843937339668;0.445739322869916;0.446634262660879;0.447528755817616;0.448422801445634;0.449316398650889;0.450209546539782;0.451102244219166;
0.451994490796344;0.452886285379068;0.453777627075545;0.454668514994433;0.455558948244843;0.456448925936343;0.457338447178956;0.458227511083159;0.459116116759889;0.460004263320541;
0.460891949876968;0.461779175541483;0.462665939426861;0.463552240646339;0.464438078313614;0.465323451542850;0.466208359448673;0.467092801146175;0.467976775750915;0.468860282378919;
0.469743320146679;0.470625888171158;0.471507985569788;0.472389611460472;0.473270764961584;0.474151445191970;0.475031651270951;0.475911382318320;0.476790637454346;0.477669415799775;
0.478547716475827;0.479425538604203;0.480302881307080;0.481179743707116;0.482056124927449;0.482932024091696;0.483807440323960;0.484682372748824;0.485556820491355;0.486430782677107;
0.487304258432116;0.488177246882908;0.489049747156493;0.489921758380372;0.490793279682533;0.491664310191455;0.492534849036109;0.493404895345954;0.494274448250945;0.495143506881529;
0.496012070368647;0.496880137843737;0.497747708438730;0.498614781286056;0.499481355518642;0.500347430269914;0.501213004673798;0.502078077864719;0.502942648977604;0.503806717147881;
0.504670281511484;0.505533341204847;0.506395895364911;0.507257943129122;0.508119483635432;0.508980516022301;0.509841039428696;0.510701052994094;0.511560555858482;0.512419547162356;
0.513278026046726;0.514135991653113;0.514993443123551;0.515850379600589;0.516706800227290;0.517562704147234;0.518418090504517;0.519272958443753;0.520127307110073;0.520981135649130;
0.521834443207094;0.522687228930659;0.523539491967039;0.524391231463970;0.525242446569713;0.526093136433053;0.526943300203301;0.527792937030293;0.528642046064392;0.529490626456488;
0.530338677358002;0.531186197920883;0.532033187297611;0.532879644641195;0.533725569105180;0.534570959843639;0.535415816011183;0.536260136762956;0.537103921254637;0.537947168642441;
0.538789878083122;0.539632048733969;0.540473679752813;0.541314770298022;0.542155319528505;0.542995326603715;0.543834790683643;0.544673710928825;0.545512086500342;0.546349916559818;
0.547187200269423;0.548023936791874;0.548860125290433;0.549695764928912;0.550530854871673;0.551365394283624;0.552199382330228;0.553032818177495;0.553865700991989;0.554698029940829;
0.555529804191685;0.556361022912784;0.557191685272906;0.558021790441388;0.558851337588127;0.559680325883575;0.560508754498744;0.561336622605205;0.562163929375090;0.562990673981093;
0.563816855596468;0.564642473395035;0.565467526551176;0.566292014239837;0.567115935636531;0.567939289917337;0.568762076258900;0.569584293838434;0.570405941833722;0.571227019423116;
0.572047525785538;0.572867460100481;0.573686821548013;0.574505609308770;0.575323822563966;0.576141460495388;0.576958522285397;0.577775007116932;0.578590914173508;0.579406242639217;
0.580220991698733;0.581035160537305;0.581848748340765;0.582661754295525;0.583474177588580;0.584286017407505;0.585097272940462;0.585907943376195;0.586718027904033;0.587527525713892;
0.588336435996274;0.589144757942270;0.589952490743556;0.590759633592401;0.591566185681661;0.592372146204786;0.593177514355813;0.593982289329375;0.594786470320698;0.595590056525600;
0.596393047140495;0.597195441362392;0.597997238388898;0.598798437418215;0.599599037649145;0.600399038281087;0.601198438514041;0.601997237548607;0.602795434585985;0.603593028827978;
0.604390019476993;0.605186405736040;0.605982186808730;0.606777361899285;0.607571930212528;0.608365890953892;0.609159243329415;0.609951986545746;0.610744119810141;0.611535642330467;
0.612326553315201;0.613116851973434;0.613906537514865;0.614695609149811;0.615484066089198;0.616271907544570;0.617059132728087;0.617845740852522;0.618631731131267;0.619417102778333;
0.620201855008348;0.620985987036560;0.621769498078836;0.622552387351666;0.623334654072161;0.624116297458053;0.624897316727700;0.625677711100082;0.626457479794806;0.627236622032101;
0.628015137032827;0.628793024018469;0.629570282211138;0.630346910833578;0.631122909109160;0.631898276261885;0.632673011516386;0.633447114097929;0.634220583232411;0.634993418146362;
0.635765618066947;0.636537182221968;0.637308109839860;0.638078400149694;0.638848052381182;0.639617065764671;0.640385439531147;0.641153172912237;0.641920265140208;0.642686715447967;
0.643452523069064;0.644217687237691;0.644982207188685;0.645746082157526;0.646509311380338;0.647271894093893;0.648033829535607;0.648795116943546;0.649555755556422;0.650315744613597;
0.651075083355082;0.651833771021537;0.652591806854275;0.653349190095261;0.654105919987112;0.654861995773097;0.655617416697140;0.656372182003822;0.657126290938376;0.657879742746695;
0.658632536675325;0.659384671971473;0.660136147883005;0.660886963658443;0.661637118546973;0.662386611798440;0.663135442663350;0.663883610392872;0.664631114238840;0.665377953453748;
0.666124127290759;0.666869635003698;0.667614475847057;0.668358649075997;0.669102153946342;0.669844989714590;0.670587155637904;0.671328650974118;0.672069474981737;0.672809626919937;
0.673549106048566;0.674287911628145;0.675026042919869;0.675763499185606;0.676500279687900;0.677236383689971;0.677971810455715;0.678706559249705;0.679440629337192;0.680174019984106;
0.680906730457057;0.681638760023334;0.682370107950908;0.683100773508431;0.683830755965238;0.684560054591345;0.685288668657455;0.686016597434953;0.686743840195911;0.687470396213086;
0.688196264759923;0.688921445110551;0.689645936539792;0.690369738323154;0.691092849736836;0.691815270057725;0.692536998563401;0.693258034532137;0.693978377242896;0.694698025975336;
0.695416980009807;0.696135238627357;0.696852801109726;0.697569666739351;0.698285834799369;0.699001304573609;0.699716075346604;0.700430146403581;0.701143517030470;0.701856186513901;
0.702568154141203;0.703279419200410;0.703989980980257;0.704699838770181;0.705408991860325;0.706117439541536;0.706825181105366;0.707532215844074;0.708238543050625;0.708944162018692;
0.709649072042657;0.710353272417608;0.711056762439346;0.711759541404381;0.712461608609934;0.713162963353937;0.713863604935037;0.714563532652591;0.715262745806672;0.715961243698067;
0.716659025628278;0.717356090899523;0.718052438814737;0.718748068677572;0.719442979792398;0.720137171464304;0.720830642999099;0.721523393703310;0.722215422884189;0.722906729849704;
0.723597313908550;0.724287174370143;0.724976310544621;0.725664721742849;0.726352407276416;0.727039366457636;0.727725598599551;0.728411103015927;0.729095879021261;0.729779925930777;
0.730463243060427;0.731145829726896;0.731827685247596;0.732508808940671;0.733189200124999;0.733868858120187;0.734547782246579;0.735225971825249;0.735903426178009;0.736580144627404;
0.737256126496716;0.737931371109963;0.738605877791900;0.739279645868021;0.739952674664558;0.740624963508481;0.741296511727503;0.741967318650075;0.742637383605390;0.743306705923383;
0.743975284934733;0.744643119970859;0.745310210363928;0.745976555446848;0.746642154553275;0.747307007017610;0.747971112175000;0.748634469361340;0.749297077913273;0.749958937168191;
0.750620046464234;0.751280405140293;0.751940012536009;0.752598867991776;0.753256970848737;0.753914320448791;0.754570916134586;0.755226757249529;0.755881843137777;0.756536173144245;
0.757189746614603;0.757842562895277;0.758494621333452;0.759145921277068;0.759796462074827;0.760446243076186;0.761095263631366;0.761743523091346;0.762391020807866;0.763037756133429;
0.763683728421300;0.764328937025505;0.764973381300837;0.765617060602852;0.766259974287870;0.766902121712977;0.767543502236027;0.768184115215639;0.768823960011199;0.769463035982863;
0.770101342491555;0.770738878898969;0.771375644567569;0.772011638860588;0.772646861142032;0.773281310776680;0.773914987130082;0.774547889568561;0.775180017459214;0.775811370169915;
0.776441947069311;0.777071747526824;0.777700770912654;0.778329016597778;0.778956483953951;0.779583172353704;0.780209081170350;0.780834209777980;0.781458557551465;0.782082123866458;
0.782704908099392;0.783326909627483;0.783948127828730;0.784568562081915;0.785188211766602;0.785807076263144;0.786425154952674;0.787042447217115;0.787658952439175;0.788274670002347;
0.788889599290916;0.789503739689951;0.790117090585311;0.790729651363648;0.791341421412398;0.791952400119794;0.792562586874855;0.793171981067395;0.793780582088020;0.794388389328130;
0.794995402179916;0.795601620036366;0.796207042291263;0.796811668339183;0.797415497575502;0.798018529396390;0.798620763198814;0.799222198380542;0.799822834340139;0.800422670476967;
0.801021706191192;0.801619940883777;0.802217373956488;0.802814004811893;0.803409832853359;0.804004857485059;0.804599078111969;0.805192494139868;0.805785104975340;0.806376910025774;
0.806967908699365;0.807558100405114;0.808147484552831;0.808736060553130;0.809323827817436;0.809910785757982;0.810496933787810;0.811082271320771;0.811666797771529;0.812250512555556;
0.812833415089139;0.813415504789374;0.813996781074172;0.814577243362257;0.815156891073167;0.815735723627253;0.816313740445684;0.816890940950442;0.817467324564327;0.818042890710956;
0.818617638814763;0.819191568300998;0.819764678595734;0.820336969125860;0.820908439319084;0.821479088603938;0.822048916409772;0.822617922166758;0.823186105305890;0.823753465258985;
0.824320001458684;0.824885713338450;0.825450600332572;0.826014661876162;0.826577897405158;0.827140306356327;0.827701888167258;0.828262642276369;0.828822568122908;0.829381665146947;
0.829939932789391;0.830497370491971;0.831053977697249;0.831609753848619;0.832164698390305;0.832718810767361;0.833272090425676;0.833824536811970;0.834376149373797;0.834926927559544;
0.835476870818433;0.836025978600521;0.836574250356699;0.837121685538698;0.837668283599080;0.838214043991249;0.838758966169443;0.839303049588741;0.839846293705060;0.840388697975155;
0.840930261856622;0.841470984807897;0.842010866288257;0.842549905757821;0.843088102677550;0.843625456509246;0.844161966715556;0.844697632759970;0.845232454106822;0.845766430221289;
0.846299560569397;0.846831844618015;0.847363281834859;0.847893871688492;0.848423613648323;0.848952507184612;0.849480551768464;0.850007746871836;0.850534091967531;0.851059586529205;
0.851584230031364;0.852108021949363;0.852630961759412;0.853153048938569;0.853674282964749;0.854194663316718;0.854714189474093;0.855232860917351;0.855750677127819;0.856267637587682;
0.856783741779978;0.857298989188603;0.857813379298311;0.858326911594711;0.858839585564271;0.859351400694318;0.859862356473035;0.860372452389467;0.860881687933518;0.861390062595954;
0.861897575868398;0.862404227243338;0.862910016214123;0.863414942274964;0.863919004920935;0.864422203647972;0.864924537952878;0.865426007333318;0.865926611287823;0.866426349315788;
0.866925220917477;0.867423225594017;0.867920362847404;0.868416632180500;0.868912033097036;0.869406565101611;0.869900227699694;0.870393020397622;0.870884942702602;0.871375994122711;
0.871866174166900;0.872355482344986;0.872843918167663;0.873331481146495;0.873818170793918;0.874303986623243;0.874788928148655;0.875272994885211;0.875756186348845;0.876238502056366;
0.876719941525458;0.877200504274682;0.877680189823474;0.878158997692149;0.878636927401901;0.879113978474797;0.879590150433789;0.880065442802704;0.880539855106249;0.881013386870012;
0.881486037620462;0.881957806884948;0.882428694191700;0.882898699069832;0.883367821049338;0.883836059661096;0.884303414436869;0.884769884909301;0.885235470611922;0.885700171079146;
0.886163985846273;0.886626914449487;0.887088956425861;0.887550111313353;0.888010378650807;0.888469757977957;0.888928248835423;0.889385850764714;0.889842563308228;0.890298386009253;
0.890753318411966;0.891207360061435;0.891660510503619;0.892112769285366;0.892564135954418;0.893014610059409;0.893464191149864;0.893912878776202;0.894360672489736;0.894807571842672;
0.895253576388111;0.895698685680048;0.896142899273374;0.896586216723875;0.897028637588234;0.897470161424031;0.897910787789741;0.898350516244738;0.898789346349293;0.899227277664577;
0.899664309752658;0.900100442176505;0.900535674499984;0.900970006287864;0.901403437105813;0.901835966520400;0.902267594099095;0.902698319410272;0.903128142023204;0.903557061508070;
0.903985077435949;0.904412189378826;0.904838396909589;0.905263699602031;0.905688097030848;0.906111588771644;0.906534174400927;0.906955853496111;0.907376625635517;0.907796490398373;
0.908215447364814;0.908633496115883;0.909050636233532;0.909466867300621;0.909882188900918;0.910296600619102;0.910710102040761;0.911122692752394;0.911534372341411;0.911945140396131;
0.912354996505786;0.912763940260521;0.913171971251392;0.913579089070368;0.913985293310330;0.914390583565076;0.914794959429314;0.915198420498669;0.915600966369680;0.916002596639801;
0.916403310907401;0.916803108771767;0.917201989833100;0.917599953692521;0.917996999952063;0.918393128214683;0.918788338084251;0.919182629165557;0.919576001064311;0.919968453387140;
0.920359985741592;0.920750597736136;0.921140288980158;0.921529059083968;0.921916907658796;0.922303834316793;0.922689838671033;0.923074920335511;0.923459078925145;0.923842314055778;
0.924224625344173;0.924606012408020;0.924986474865932;0.925366012337446;0.925744624443025;0.926122310804056;0.926499071042854;0.926874904782658;0.927249811647634;0.927623791262876;
0.927996843254405;0.928368967249167;0.928740162875039;0.929110429760826;0.929479767536260;0.929848175832005;0.930215654279651;0.930582202511720;0.930947820161664;0.931312506863866;
0.931676262253639;0.932039085967226;0.932400977641806;0.932761936915486;0.933121963427306;0.933481056817241;0.933839216726197;0.934196442796013;0.934552734669465;0.934908091990260;
0.935262514403041;0.935616001553386;0.935968553087807;0.936320168653753;0.936670847899608;0.937020590474693;0.937369396029267;0.937717264214522;0.938064194682591;0.938410187086543;
0.938755241080387;0.939099356319068;0.939442532458470;0.939784769155419;0.940126066067677;0.940466422853947;0.940805839173872;0.941144314688037;0.941481849057965;0.941818441946123;
0.942154093015918;0.942488801931698;0.942822568358754;0.943155391963321;0.943487272412574;0.943818209374634;0.944148202518563;0.944477251514368;0.944805356033000;0.945132515746355;
0.945458730327273;0.945783999449539;0.946108322787885;0.946431700017987;0.946754130816467;0.947075614860896;0.947396151829789;0.947715741402609;0.948034383259766;0.948352077082619;
0.948668822553475;0.948984619355586;0.949299467173158;0.949613365691341;0.949926314596238;0.950238313574899;0.950549362315326;0.950859460506470;0.951168607838233;0.951476804001467;
0.951784048687976;0.952090341590516;0.952395682402794;0.952700070819468;0.953003506536151;0.953305989249408;0.953607518656754;0.953908094456661;0.954207716348553;0.954506384032808;
0.954804097210759;0.955100855584692;0.955396658857849;0.955691506734427;0.955985398919578;0.956278335119410;0.956570315040986;0.956861338392327;0.957151404882409;0.957440514221166;
0.957728666119489;0.958015860289225;0.958302096443181;0.958587374295120;0.958871693559765;0.959155053952796;0.959437455190853;0.959718896991535;0.959999379073400;0.960278901155966;
0.960557462959711;0.960835064206073;0.961111704617450;0.961387383917204;0.961662101829653;0.961935858080081;0.962208652394730;0.962480484500808;0.962751354126481;0.963021261000880;
0.963290204854099;0.963558185417193;0.963825202422182;0.964091255602049;0.964356344690740;0.964620469423167;0.964883629535206;0.965145824763695;0.965407054846439;0.965667319522210;
0.965926618530741;0.966184951612734;0.966442318509856;0.966698718964740;0.966954152720986;0.967208619523160;0.967462119116794;0.967714651248391;0.967966215665416;0.968216812116307;
0.968466440350466;0.968715100118265;0.968962791171045;0.969209513261115;0.969455266141752;0.969700049567204;0.969943863292687;0.970186707074388;0.970428580669462;0.970669483836037;
0.970909416333208;0.971148377921045;0.971386368360584;0.971623387413836;0.971859434843781;0.972094510414372;0.972328613890535;0.972561745038164;0.972793903624129;0.973025089416272;
0.973255302183406;0.973484541695319;0.973712807722772;0.973940100037498;0.974166418412205;0.974391762620576;0.974616132437264;0.974839527637902;0.975061947999092;0.975283393298417;
0.975503863314429;0.975723357826659;0.975941876615613;0.976159419462771;0.976375986150591;0.976591576462507;0.976806190182927;0.977019827097239;0.977232486991805;0.977444169653965;
0.977654874872037;0.977864602435316;0.978073352134074;0.978281123759561;0.978487917104006;0.978693731960616;0.978898568123575;0.979102425388047;0.979305303550176;0.979507202407082;
0.979708121756868;0.979908061398614;0.980107021132380;0.980305000759207;0.980502000081115;0.980698018901104;0.980893057023156;0.981087114252233;0.981280190394277;0.981472285256212;
0.981663398645944;0.981853530372360;0.982042680245327;0.982230848075695;0.982418033675297;0.982604236856947;0.982789457434443;0.982973695222562;0.983156950037069;0.983339221694707;
0.983520510013206;0.983700814811277;0.983880135908614;0.984058473125898;0.984235826284791;0.984412195207939;0.984587579718975;0.984761979642512;0.984935394804152;0.985107825030480;
0.985279270149064;0.985449729988460;0.985619204378209;0.985787693148835;0.985955196131850;0.986121713159751;0.986287244066022;0.986451788685130;0.986615346852532;0.986777918404669;
0.986939503178970;0.987100101013850;0.987259711748712;0.987418335223944;0.987575971280923;0.987732619762013;0.987888280510565;0.988042953370920;0.988196638188403;0.988349334809330;
0.988501043081006;0.988651762851720;0.988801493970754;0.988950236288376;0.989097989655844;0.989244753925406;0.989390528950295;0.989535314584739;0.989679110683950;0.989821917104133;
0.989963733702481;0.990104560337178;0.990244396867397;0.990383243153302;0.990521099056046;0.990657964437774;0.990793839161620;0.990928723091709;0.991062616093158;0.991195518032073;
0.991327428775553;0.991458348191686;0.991588276149555;0.991717212519229;0.991845157171774;0.991972109979244;0.992098070814687;0.992223039552142;0.992347016066639;0.992470000234204;
0.992591991931851;0.992712991037589;0.992832997430418;0.992952010990333;0.993070031598319;0.993187059136357;0.993303093487418;0.993418134535469;0.993532182165467;0.993645236263367;
0.993757296716113;0.993868363411645;0.993978436238896;0.994087515087794;0.994195599849260;0.994302690415209;0.994408786678550;0.994513888533188;0.994617995874020;0.994721108596938;
MATLAB Command History Page 113
May 7, 2019 3:46:17 PM
0.994823226598832;0.994924349777581;0.995024478032063;0.995123611262151;0.995221749368710;0.995318892253603;0.995415039819686;0.995510191970813;0.995604348611830;0.995697509648582;
0.995789674987907;0.995880844537640;0.995971018206612;0.996060195904648;0.996148377542572;0.996235563032201;0.996321752286349;0.996406945218829;0.996491141744447;0.996574341779005;
0.996656545239306;0.996737752043143;0.996817962109312;0.996897175357602;0.996975391708800;0.997052611084689;0.997128833408050;0.997204058602660;0.997278286593295;0.997351517305727;
0.997423750666725;0.997494986604054;0.997565225046481;0.997634465923765;0.997702709166667;0.997769954706943;0.997836202477347;0.997901452411632;0.997965704444547;0.998028958511842;
0.998091214550261;0.998152472497548;0.998212732292446;0.998271993874696;0.998330257185034;0.998387522165198;0.998443788757924;0.998499056906944;0.998553326556990;0.998606597653793;
0.998658870144082;0.998710143975583;0.998760419097024;0.998809695458129;0.998857973009621;0.998905251703224;0.998951531491659;0.998996812328645;0.999041094168902;0.999084376968148;
0.999126660683101;0.999167945271476;0.999208230691989;0.999247516904355;0.999285803869287;0.999323091548498;0.999359379904701;0.999394668901608;0.999428958503929;0.999462248677375;
0.999494539388655;0.999525830605479;0.999556122296556;0.999585414431594;0.999613706981301;0.999640999917384;0.999667293212550;0.999692586840507;0.999716880775960;0.999740174994615;
0.999762469473179;0.999783764189357;0.999804059121854;0.999823354250375;0.999841649555625;0.999858945019309;0.999875240624131;0.999890536353796;0.999904832193008;0.999918128127471;
0.999930424143889;0.999941720229966;0.999952016374407;0.999961312566914;0.999969608798192;0.999976905059945;0.999983201344876;0.999988497646689;0.999992793960088;0.999996090280776;
0.999998386605457;0.999999682931835;0.999999979258613;0.999999275585495;0.999997571913185;0.999994868243387;0.999991164578803;0.999986460923139;0.999980757281096;0.999974053658380;
0.999966350061693;0.999957646498740;0.999947942978224;0.999937239509848;0.999925536104315;0.999912832773330;0.999899129529596;0.999884426386815;0.999868723359691;0.999852020463927;
0.999834317716226;0.999815615134291;0.999795912736824;0.999775210543527;0.999753508575103;0.999730806853254;0.999707105400682;0.999682404241087;0.999656703399171;0.999630002900635;
0.999602302772180;0.999573603041505;0.999543903737311;0.999513204889296;0.999481506528159;0.999448808685599;0.999415111394314;0.999380414688001;0.999344718601356;0.999308023170076;
0.999270328430856;0.999231634421391;0.999191941180374;0.999151248747500;0.999109557163460;0.999066866469947;0.999023176709650;0.998978487926260;0.998932800164465;0.998886113469953;
0.998838427889411;0.998789743470524;0.998740060261977;0.998689378313453;0.998637697675634;0.998585018400200;0.998531340539832;0.998476664148206;0.998420989279998;0.998364315990885;
0.998306644337540;0.998247974377633;0.998188306169834;0.998127639773813;0.998065975250235;0.998003312660765;0.997939652068066;0.997874993535798;0.997809337128619;0.997742682912186;
0.997675030953154;0.997606381319174;0.997536734078895;0.997466089301966;0.997394447059030;0.997321807421731;0.997248170462707;0.997173536255596;0.997097904875032;0.997021276396646;
0.996943650897066;0.996865028453919;0.996785409145826;0.996704793052408;0.996623180254279;0.996540570833053;0.996456964871339;0.996372362452744;0.996286763661869;0.996200168584313;
0.996112577306672;0.996023989916537;0.995934406502494;0.995843827154129;0.995752251962019;0.995659681017740;0.995566114413862;0.995471552243954;0.995375994602576;0.995279441585287;
0.995181893288639;0.995083349810180;0.994983811248455;0.994883277703001;0.994781749274353;0.994679226064038;0.994575708174580;0.994471195709497;0.994365688773300;0.994259187471498;
0.994151691910592;0.994043202198076;0.993933718442441;0.993823240753170;0.993711769240742;0.993599304016626;0.993485845193290;0.993371392884192;0.993255947203783;0.993139508267509;
0.993022076191811;0.992903651094119;0.992784233092858;0.992663822307447;0.992542418858297;0.992420022866810;0.992296634455383;0.992172253747405;0.992046880867255;0.991920515940307;
0.991793159092926;0.991664810452469;0.991535470147283;0.991405138306710;0.991273815061082;0.991141500541721;0.991008194880942;0.990873898212051;0.990738610669344;0.990602332388109;
0.990465063504624;0.990326804156158;0.990187554480971;0.990047314618311;0.989906084708420;0.989763864892526;0.989620655312850;0.989476456112601;0.989331267435978;0.989185089428171;
0.989037922235356;0.988889766004702;0.988740620884363;0.988590487023487;0.988439364572206;0.988287253681642;0.988134154503908;0.987980067192101;0.987824991900309;0.987668928783608;
0.987511877998060;0.987353839700716;0.987194814049616;0.987034801203783;0.986873801323231;0.986711814568961;0.986548841102957;0.986384881088195;0.986219934688635;0.986054002069221;
0.985887083395888;0.985719178835554;0.985550288556122;0.985380412726485;0.985209551516517;0.985037705097079;0.984864873640018;0.984691057318166;0.984516256305339;0.984340470776337;
0.984163700906946;0.983985946873937;0.983807208855063;0.983627487029062;0.983446781575655;0.983265092675550;0.983082420510433;0.982898765262978;0.982714127116839;0.982528506256656;
0.982341902868048;0.982154317137619;0.981965749252954;0.981776199402622;0.981585667776173;0.981394154564138;0.981201659958029;0.981008184150343;0.980813727334554;0.980618289705120;
0.980421871457478;0.980224472788046;0.980026093894222;0.979826734974387;0.979626396227898;0.979425077855095;0.979222780057295;0.979019503036797;0.978815246996878;0.978610012141793;
0.978403798676777;0.978196606808045;0.977988436742787;0.977779288689174;0.977569162856353;0.977358059454451;0.977145978694572;0.976932920788795;0.976718885950178;0.976503874392757;
0.976287886331543;0.976070921982524;0.975852981562665;0.975634065289905;0.975414173383161;0.975193306062325;0.974971463548264;0.974748646062821;0.974524853828813;0.974300087070033;
0.974074346011246;0.973847630878195;0.973619941897594;0.973391279297133;0.973161643305473;0.972931034152251;0.972699452068075;0.972466897284529;0.972233370034167;0.971998870550515;
0.971763399068074;0.971526955822315;0.971289541049682;0.971051154987587;0.970811797874419;0.970571469949534;0.970330171453260;0.970087902626895;0.969844663712709;0.969600454953939;
0.969355276594796;0.969109128880456;0.968862012057069;0.968613926371750;0.968364872072586;0.968114849408630;0.967863858629905;0.967611899987403;0.967358973733081;0.967105080119866;
0.966850219401651;0.966594391833298;0.966337597670633;0.966079837170451;0.965821110590513;0.965561418189544;0.965300760227238;0.965039136964252;0.964776548662209;0.964512995583698;
0.964248477992272;0.963982996152448;0.963716550329709;0.963449140790499;0.963180767802229;0.962911431633271;0.962641132552962;0.962369870831601;0.962097646740449;0.961824460551730;
0.961550312538631;0.961275202975300;0.960999132136846;0.960722100299339;0.960444107739813;0.960165154736259;0.959885241567630;0.959604368513839;0.959322535855760;0.959039743875225;
0.958755992855026;0.958471283078914;0.958185614831599;0.957898988398749;0.957611404066990;0.957322862123907;0.957033362858042;0.956742906558894;0.956451493516919;0.956159124023529;
0.955865798371096;0.955571516852944;0.955276279763355;0.954980087397565;0.954682940051768;0.954384838023110;0.954085781609694;0.953785771110575;0.953484806825765;0.953182889056228;
0.952880018103881;0.952576194271595;0.952271417863195;0.951965689183456;0.951659008538107;0.951351376233829;0.951042792578253;0.950733257879965;0.950422772448498;0.950111336594337;
0.949798950628920;0.949485614864631;0.949171329614805;0.948856095193730;0.948539911916638;0.948222780099714;0.947904700060088;0.947585672115842;0.947265696586002;0.946944773790544;
0.946622904050392;0.946300087687415;0.945976325024428;0.945651616385196;0.945325962094426;0.944999362477772;0.944671817861835;0.944343328574159;0.944013894943233;0.943683517298490;
0.943352195970309;0.943019931290011;0.942686723589859;0.942352573203063;0.942017480463772;0.941681445707080;0.941344469269019;0.941006551486569;0.940667692697645;0.940327893241106;
0.939987153456753;0.939645473685325;0.939302854268501;0.938959295548902;0.938614797870085;0.938269361576548;0.937922987013728;0.937575674527999;0.937227424466674;0.936878237178002;
0.936528113011172;0.936177052316306;0.935825055444466;0.935472122747649;0.935118254578786;0.934763451291748;0.934407713241335;0.934051040783288;0.933693434274277;0.933334894071910;
0.932975420534727;0.932615014022201;0.932253674894738;0.931891403513678;0.931528200241293;0.931164065440785;0.930798999476289;0.930433002712871;0.930066075516528;0.929698218254187;
0.929329431293705;0.928959715003869;0.928589069754396;0.928217495915930;0.927844993860046;0.927471563959245;0.927097206586958;0.926721922117541;0.926345710926280;0.925968573389384;
0.925590509883993;0.925211520788168;0.924831606480900;0.924450767342103;0.924069003752615;0.923686316094201;0.923302704749547;0.922918170102265;0.922532712536891;0.922146332438881;
0.921759030194615;0.921370806191395;0.920981660817447;0.920591594461914;0.920200607514863;0.919808700367282;0.919415873411077;0.919022127039075;0.918627461645023;0.918231877623586;
0.917835375370347;0.917437955281810;0.917039617755394;0.916640363189436;0.916240191983192;0.915839104536832;0.915437101251444;0.915034182529031;0.914630348772511;0.914225600385719;
0.913819937773403;0.913413361341225;0.913005871495762;0.912597468644504;0.912188153195853;0.911777925559125;0.911366786144547;0.910954735363259;0.910541773627311;0.910127901349666;
0.909713118944196;0.909297426825682;0.908880825409817;0.908463315113202;0.908044896353348;0.907625569548674;0.907205335118505;0.906784193483077;0.906362145063531;0.905939190281916;
0.905515329561185;0.905090563325201;0.904664891998729;0.904238316007440;0.903810835777910;0.903382451737620;0.902953164314954;0.902522973939198;0.902091881040544;0.901659886050084;
0.901226989399813;0.900793191522627;0.900358492852326;0.899922893823606;0.899486394872067;0.899048996434209;0.898610698947429;0.898171502850025;0.897731408581193;0.897290416581028;
0.896848527290520;0.896405741151560;0.895962058606933;0.895517480100323;0.895072006076307;0.894625636980359;0.894178373258850;0.893730215359041;0.893281163729092;0.892831218818053;
0.892380381075870;0.891928650953380;0.891476028902313;0.891022515375292;0.890568110825830;0.890112815708331;0.889656630478090;0.889199555591294;0.888741591505015;0.888282738677220;
0.887822997566759;0.887362368633376;0.886900852337697;0.886438449141240;0.885975159506408;0.885510983896490;0.885045922775661;0.884579976608984;0.884113145862404;0.883645431002752;
0.883176832497743;0.882707350815974;0.882236986426928;0.881765739800970;0.881293611409345;0.880820601724182;0.880346711218491;0.879871940366162;0.879396289641965;0.878919759521553;
0.878442350481454;0.877964062999078;0.877484897552712;0.877004854621522;0.876523934685550;0.876042138225717;0.875559465723818;0.875075917662526;0.874591494525390;0.874106196796832;
0.873620024962150;0.873132979507516;0.872645060919976;0.872156269687447;0.871666606298721;0.871176071243461;0.870684665012203;0.870192388096353;0.869699240988186;0.869205224180851;
0.868710338168365;0.868214583445613;0.867717960508349;0.867220469853198;0.866722111977648;0.866222887380060;0.865722796559655;0.865221840016527;0.864720018251630;0.864217331766788;
0.863713781064685;0.863209366648874;0.862704089023768;0.862197948694644;0.861690946167644;0.861183081949769;0.860674356548885;0.860164770473715;0.859654324233847;0.859143018339726;
0.858630853302658;0.858117829634809;0.857603947849201;0.857089208459717;0.856573611981096;0.856057158928935;0.855539849819686;0.855021685170658;0.854502665500016;0.853982791326781;
0.853462063170824;0.852940481552876;0.852418046994518;0.851894760018183;0.851370621147159;0.850845630905586;0.850319789818452;0.849793098411599;0.849265557211719;0.848737166746352;
0.848207927543889;0.847677840133570;0.847146905045481;0.846615122810557;0.846082493960581;0.845549019028182;0.845014698546834;0.844479533050858;0.843943523075419;0.843406669156528;
0.842868971831038;0.842330431636646;0.841791049111892;0.841250824796160;0.840709759229673;0.840167852953497;0.839625106509538;0.839081520440542;0.838537095290096;0.837991831602625;
0.837445729923391;0.836898790798498;0.836351014774883;0.835802402400324;0.835252954223431;0.834702670793654;0.834151552661276;0.833599600377415;0.833046814494022;0.832493195563885;
0.831938744140621;0.831383460778683;0.830827346033353;0.830270400460747;0.829712624617809;0.829154019062315;0.828594584352872;0.828034321048914;0.827473229710703;0.826911310899331;
0.826348565176718;0.825784993105608;0.825220595249574;0.824655372173013;0.824089324441150;0.823522452620030;0.822954757276526;0.822386238978334;0.821816898293971;0.821246735792778;
0.820675752044918;0.820103947621374;0.819531323093951;0.818957879035274;0.818383616018785;0.817808534618748;0.817232635410246;0.816655918969175;0.816078385872255;0.815500036697015;
0.814920872021808;0.814340892425796;0.813760098488960;0.813178490792092;0.812596069916802;0.812012836445510;0.811428790961449;0.810843934048665;0.810258266292014;0.809671788277164;
0.809084500590594;0.808496403819590;0.807907498552250;0.807317785377479;0.806727264884990;0.806135937665302;0.805543804309745;0.804950865410450;0.804357121560357;0.803762573353209;
0.803167221383556;0.802571066246747;0.801974108538940;0.801376348857090;0.800777787798959;0.800178425963106;0.799578263948894;0.798977302356485;0.798375541786840;0.797772982841720;
0.797169626123683;0.796565472236087;0.795960521783084;0.795354775369627;0.794748233601460;0.794140897085126;0.793532766427961;0.792923842238096;0.792314125124455;0.791703615696754;
0.791092314565504;0.790480222342005;0.789867339638349;0.789253667067420;0.788639205242890;0.788023954779220;0.787407916291661;0.786791090396251;0.786173477709816;0.785555078849969;
0.784935894435109;0.784315925084420;0.783695171417871;0.783073634056216;0.782451313620992;0.781828210734520;0.781204326019902;0.780579660101023;0.779954213602550;0.779327987149927;
0.778700981369382;0.778073196887921;0.777444634333328;0.776815294334165;0.776185177519773;0.775554284520268;0.774922615966543;0.774290172490266;0.773656954723882;0.773022963300607;
0.772388198854434;0.771752662020126;0.771116353433220;0.770479273730025;0.769841423547621;0.769202803523857;0.768563414297354;0.767923256507500;0.767282330794454;0.766640637799141;
0.765998178163255;0.765354952529254;0.764710961540364;0.764066205840576;0.763420686074646;0.762774402888094;0.762127356927202;0.761479548839017;0.760830979271347;0.760181648872761;
0.759531558292589;0.758880708180922;0.758229099188610;0.757576731967262;0.756923607169246;0.756269725447685;0.755615087456462;0.754959693850214;0.754303545284336;0.753646642414975;
0.752988985899034;0.752330576394171;0.751671414558793;0.751011501052064;0.750350836533896;0.749689421664954;0.749027257106653;0.748364343521158;0.747700681571381;0.747036271920985;
0.746371115234379;0.745705212176720;0.745038563413911;0.744371169612601;0.743703031440184;0.743034149564796;0.742364524655321;0.741694157381384;0.741023048413350;0.740351198422331;
0.739678608080174;0.739005278059471;0.738331209033551;0.737656401676484;0.736980856663077;0.736304574668875;0.735627556370159;0.734949802443948;0.734271313567996;0.733592090420791;
0.732912133681558;0.732231444030251;0.731550022147562;0.730867868714911;0.730184984414453;0.729501369929071;0.728817025942380;0.728131953138724;0.727446152203175;0.726759623821535;
0.726072368680331;0.725384387466820;0.724695680868981;0.724006249575522;0.723316094275873;0.722625215660191;0.721933614419353;0.721241291244961;0.720548246829337;0.719854481865527;
0.719159997047295;0.718464793069126;0.717768870626224;0.717072230414511;0.716374873130627;0.715676799471930;0.714978010136493;0.714278505823105;0.713578287231271;0.712877355061210;
0.712175710013852;0.711473352790844;0.710770284094543;0.710066504628017;0.709362015095045;0.708656816200117;0.707950908648432;0.707244293145898;0.706536970399129;0.705828941115449;
0.705120206002886;0.704410765770176;0.703700621126759;0.702989772782780;0.702278221449086;0.701565967837230;0.700853012659464;0.700139356628744;0.699425000458725;0.698709944863765;
0.697994190558917;0.697277738259938;0.696560588683278;0.695842742546088;0.695124200566213;0.694404963462195;0.693685031953272;0.692964406759375;0.692243088601128;0.691521078199851;
0.690798376277553;0.690074983556936;0.689350900761394;0.688626128615008;0.687900667842551;0.687174519169483;0.686447683321953;0.685720161026798;0.684991953011538;0.684263060004383;
0.683533482734224;0.682803221930640;0.682072278323891;0.681340652644920;0.680608345625353;0.679875357997497;0.679141690494341;0.678407343849550;0.677672318797472;0.676936616073131;
0.676200236412231;0.675463180551151;0.674725449226946;0.673987043177349;0.673247963140765;0.672508209856273;0.671767784063628;0.671026686503254;0.670284917916250;0.669542479044385;
0.668799370630095;0.668055593416491;0.667311148147349;0.666566035567115;0.665820256420900;0.665073811454485;0.664326701414313;0.663578927047496;0.662830489101807;0.662081388325683;
0.661331625468227;0.660581201279201;0.659830116509028;0.659078371908793;0.658325968230242;0.657572906225778;0.656819186648461;0.656064810252013;0.655309777790810;0.654554090019883;
0.653797747694920;0.653040751572265;0.652283102408912;0.651524800962512;0.650765847991364;0.650006244254423;0.649245990511292;0.648485087522224;0.647723536048123;0.646961336850540;
0.646198490691674;0.645434998334371;0.644670860542123;0.643906078079069;0.643140651709990;0.642374582200313;0.641607870316108;0.640840516824085;0.640072522491599;0.639303888086645;
0.638534614377855;0.637764702134504;0.636994152126504;0.636222965124405;0.635451141899394;0.634678683223294;0.633905589868563;0.633131862608296;0.632357502216219;0.631582509466692;
0.630806885134708;0.630030629995892;0.629253744826499;0.628476230403412;0.627698087504148;0.626919316906849;0.626139919390285;0.625359895733854;0.624579246717579;0.623797973122110;
0.623016075728719;0.622233555319305;0.621450412676387;0.620666648583108;0.619882263823233;0.619097259181145;0.618311635441849;0.617525393390970;0.616738533814749;0.615951057500045;
0.615162965234335;0.614374257805712;0.613584936002881;0.612795000615166;0.612004452432501;0.611213292245435;0.610421520845128;0.609629139023350;0.608836147572484;0.608042547285522;
0.607248338956063;0.606453523378315;0.605658101347094;0.604862073657823;0.604065441106529;0.603268204489843;0.602470364605004;0.601671922249850;0.600872878222824;0.600073233322970;
0.599272988349932;0.598472144103956;0.597670701385886;0.596868660997165;0.596066023739832;0.595262790416525;0.594458961830477;0.593654538785517;0.592849522086067;0.592043912537145;
0.591237710944360;0.590430918113913;0.589623534852597;0.588815561967795;0.588007000267481;0.587197850560215;0.586388113655147;0.585577790362015;0.584766881491142;0.583955387853435;
0.583143310260389;0.582330649524082;0.581517406457174;0.580703581872907;0.579889176585107;0.579074191408179;0.578258627157108;0.577442484647457;0.576625764695371;0.575808468117567;
0.574990595731344;0.574172148354572;0.573353126805701;0.572533531903750;0.571713364468315;0.570892625319563;0.570071315278233;0.569249435165636;0.568426985803651;0.567603968014727;
0.566780382621882;0.565956230448703;0.565131512319340;0.564306229058511;0.563480381491501;0.562653970444157;0.561826996742888;0.560999461214670;0.560171364687037;0.559342707988087;
0.558513491946475;0.557683717391417;0.556853385152688;0.556022496060621;0.555191050946104;0.554359050640583;0.553526495976057;0.552693387785081;0.551859726900763;0.551025514156765;
0.550190750387298;0.549355436427127;0.548519573111565;0.547683161276476;0.546846201758270;0.546008695393909;0.545170643020898;0.544332045477290;0.543492903601681;0.542653218233214;
0.541812990211574;0.540972220376989;0.540130909570228;0.539289058632603;0.538446668405964;0.537603739732702;0.536760273455745;0.535916270418559;0.535071731465147;0.534226657440049;
0.533381049188337;0.532534907555621;0.531688233388042;0.530841027532274;0.529993290835522;0.529145024145523;0.528296228310545;0.527446904179382;0.526597052601359;0.525746674426327;
0.524895770504665;0.524044341687276;0.523192388825589;0.522339912771557;0.521486914377655;0.520633394496883;0.519779353982759;0.518924793689325;0.518069714471140;0.517214117183284;
0.516358002681354;0.515501371821464;0.514644225460246;0.513786564454845;0.512928389662922;0.512069701942652;0.511210502152723;0.510350791152335;0.509490569801197;0.508629838959533;
0.507768599488072;0.506906852248053;0.506044598101225;0.505181837909841;0.504318572536661;0.503454802844951;0.502590529698479;0.501725753961520;0.500860476498848;0.499994698175742;
0.499128419857979;0.498261642411839;0.497394366704097;0.496526593602030;0.495658323973410;0.494789558686509;0.493920298610089;0.493050544613412;0.492180297566232;0.491309558338795;
0.490438327801841;0.489566606826600;0.488694396284792;0.487821697048629;0.486948509990810;0.486074835984522;0.485200675903437;0.484326030621718;0.483450901014008;0.482575287955437;
0.481699192321619;0.480822614988648;0.479945556833103;0.479068018732041;0.478190001562999;0.477311506203997;0.476432533533528;0.475553084430565;0.474673159774556;0.473792760445428;
0.472911887323580;0.472030541289883;0.471148723225683;0.470266434012801;0.469383674533523;0.468500445670610;0.467616748307290;0.466732583327261;0.465847951614688;0.464962854054201;
0.464077291530900;0.463191264930345;0.462304775138564;0.461417823042047;0.460530409527745;0.459642535483072;0.458754201795902;0.457865409354568;0.456976159047862;0.456086451765036;
0.455196288395797;0.454305669830306;0.453414596959184;0.452523070673503;0.451631091864788;0.450738661425020;0.449845780246627;0.448952449222492;0.448058669245945;0.447164441210766;
0.446269766011183;0.445374644541871;0.444479077697952;0.443583066374992;0.442686611469003;0.441789713876439;0.440892374494198;0.439994594219620;0.439096373950483;0.438197714585010;
0.437298617021858;0.436399082160126;0.435499110899348;0.434598704139496;0.433697862780975;0.432796587724628;0.431894879871729;0.430992740123986;0.430090169383540;0.429187168552959;
MATLAB Command History Page 114
May 7, 2019 3:46:17 PM
0.428283738535246;0.427379880233830;0.426475594552569;0.425570882395750;0.424665744668083;0.423760182274707;0.422854196121184;0.421947787113500;0.421040956158065;0.420133704161708;
0.419226032031682;0.418317940675659;0.417409431001730;0.416500503918405;0.415591160334611;0.414681401159691;0.413771227303404;0.412860639675925;0.411949639187840;0.411038226750151;
0.410126403274269;0.409214169672017;0.408301526855631;0.407388475737751;0.406475017231430;0.405561152250125;0.404646881707702;0.403732206518431;0.402817127596987;0.401901645858449;
0.400985762218299;0.400069477592420;0.399152792897096;0.398235709049013;0.397318226965254;0.396400347563301;0.395482071761034;0.394563400476728;0.393644334629054;0.392724875137079;
0.391805022920261;0.390884778898452;0.389964143991898;0.389043119121232;0.388121705207479;0.387199903172053;0.386277713936757;0.385355138423779;0.384432177555694;0.383508832255464;
0.382585103446434;0.381660992052332;0.380736498997270;0.379811625205740;0.378886371602617;0.377960739113154;0.377034728662983;0.376108341178115;0.375181577584938;0.374254438810214;
0.373326925781082;0.372399039425055;0.371470780670021;0.370542150444236;0.369613149676332;0.368683779295309;0.367754040230538;0.366823933411757;0.365893459769073;0.364962620232960;
0.364031415734257;0.363099847204168;0.362167915574263;0.361235621776472;0.360302966743090;0.359369951406771;0.358436576700530;0.357502843557743;0.356568752912141;0.355634305697817;
0.354699502849217;0.353764345301143;0.352828833988753;0.351892969847559;0.350956753813425;0.350020186822565;0.349083269811548;0.348146003717291;0.347208389477059;0.346270428028465;
0.345332120309473;0.344393467258390;0.343454469813868;0.342515128914904;0.341575445500841;0.340635420511360;0.339695054886487;0.338754349566588;0.337813305492367;0.336871923604869;
0.335930204845476;0.334988150155905;0.334045760478212;0.333103036754787;0.332159979928353;0.331216590941966;0.330272870739016;0.329328820263223;0.328384440458637;0.327439732269637;
0.326494696640933;0.325549334517560;0.324603646844879;0.323657634568578;0.322711298634670;0.321764639989490;0.320817659579697;0.319870358352271;0.318922737254513;0.317974797234045;
0.317026539238806;0.316077964217054;0.315129073117364;0.314179866888627;0.313230346480050;0.312280512841152;0.311330366921767;0.310379909672042;0.309429142042432;0.308478064983707;
0.307526679446942;0.306574986383523;0.305622986745143;0.304670681483803;0.303718071551805;0.302765157901762;0.301811941486587;0.300858423259494;0.299904604174004;0.298950485183934;
0.297996067243405;0.297041351306832;0.296086338328933;0.295131029264721;0.294175425069504;0.293219526698886;0.292263335108766;0.291306851255335;0.290350076095078;0.289393010584768;
0.288435655681472;0.287478012342544;0.286520081525628;0.285561864188655;0.284603361289840;0.283644573787689;0.282685502640987;0.281726148808806;0.280766513250500;0.279806596925704;
0.278846400794334;0.277885925816587;0.276925172952937;0.275964143164137;0.275002837411217;0.274041256655483;0.273079401858514;0.272117273982167;0.271154873988568;0.270192202840118;
0.269229261499487;0.268266050929618;0.267302572093720;0.266338825955272;0.265374813478020;0.264410535625977;0.263445993363421;0.262481187654893;0.261516119465199;0.260550789759408;
0.259585199502848;0.258619349661111;0.257653241200045;0.256686875085760;0.255720252284621;0.254753373763251;0.253786240488529;0.252818853427587;0.251851213547813;0.250883321816846;
0.249915179202578;0.248946786673153;0.247978145196961;0.247009255742644;0.246040119279093;0.245070736775442;0.244101109201076;0.243131237525620;0.242161122718947;0.241190765751172;
0.240220167592651;0.239249329213982;0.238278251586004;0.237306935679795;0.236335382466669;0.235363592918181;0.234391568006119;0.233419308702509;0.232446815979610;0.231474090809914;
0.230501134166146;0.229527947021264;0.228554530348454;0.227580885121133;0.226607012312944;0.225632912897763;0.224658587849688;0.223684038143044;0.222709264752380;0.221734268652470;
0.220759050818310;0.219783612225117;0.218807953848330;0.217832076663608;0.216855981646827;0.215879669774083;0.214903142021687;0.213926399366167;0.212949442784265;0.211972273252938;
0.210994891749356;0.210017299250899;0.209039496735161;0.208061485179943;0.207083265563258;0.206104838863324;0.205126206058569;0.204147368127624;0.203168326049329;0.202189080802724;
0.201209633367056;0.200229984721771;0.199250135846517;0.198270087721145;0.197289841325701;0.196309397640433;0.195328757645783;0.194347922322391;0.193366892651094;0.192385669612920;
0.191404254189093;0.190422647361027;0.189440850110330;0.188458863418799;0.187476688268419;0.186494325641367;0.185511776520005;0.184529041886883;0.183546122724733;0.182563020016476;
0.181579734745214;0.180596267894233;0.179612620446999;0.178628793387159;0.177644787698541;0.176660604365150;0.175676244371169;0.174691708700958;0.173706998339054;0.172722114270165;
0.171737057479177;0.170751828951145;0.169766429671299;0.168780860625038;0.167795122797929;0.166809217175712;0.165823144744292;0.164836906489740;0.163850503398296;0.162863936456362;
0.161877206650506;0.160890314967456;0.159903262394104;0.158916049917504;0.157928678524867;0.156941149203564;0.155953462941126;0.154965620725237;0.153977623543740;0.152989472384633;
0.152001168236067;0.151012712086344;0.150024104923922;0.149035347737408;0.148046441515558;0.147057387247279;0.146068185921626;0.145078838527798;0.144089346055144;0.143099709493156;
0.142109929831471;0.141120008059867;0.140129945168268;0.139139742146734;0.138149399985470;0.137158919674818;0.136168302205257;0.135177548567405;0.134186659752017;0.133195636749980;
0.132204480552317;0.131213192150184;0.130221772534870;0.129230222697795;0.128238543630508;0.127246736324687;0.126254801772141;0.125262740964804;0.124270554894736;0.123278244554124;
0.122285810935277;0.121293255030630;0.120300577832738;0.119307780334277;0.118314863528047;0.117321828406963;0.116328675964060;0.115335407192491;0.114342023085524;0.113348524636544;
0.112354912839049;0.111361188686650;0.110367353173071;0.109373407292149;0.108379352037829;0.107385188404165;0.106390917385322;0.105396539975571;0.104402057169289;0.103407469960957;
0.102412779345165;0.101417986316602;0.100423091870061;0.0994280970004360;0.0984330027027228;0.0974378099720151;0.0964425198035056;0.0954471331924838;0.0944516511343373;0.0934560746245474;
0.0924604046586908;0.0914646422324368;0.0904687883415486;0.0894728439818795;0.0884768101493740;0.0874806878400652;0.0864844780500764;0.0854881817756167;0.0844918000129823;
0.0834953337585545;0.0824987840088004;0.0815021517602691;0.0805054380095929;0.0795086437534849;0.0785117699887403;0.0775148177122321;0.0765177879209128;0.0755206816118114;
0.0745234997820352;0.0735262434287654;0.0725289135492583;0.0715315111408433;0.0705340372009235;0.0695364927269724;0.0685388787165343;0.0675411961672233;0.0665434460767213;
0.0655456294427791;0.0645477472632131;0.0635498005359051;0.0625517902588014;0.0615537174299132;0.0605555830473126;0.0595573881091340;0.0585591336135719;0.0575608205588814;
0.0565624499433752;0.0555640227654238;0.0545655400234538;0.0535670027159487;0.0525684118414454;0.0515697683985346;0.0505710733858593;0.0495723278021153;0.0485735326460476;
0.0475746889164513;0.0465757976121696;0.0455768597320946;0.0445778762751637;0.0435788482403602;0.0425797766267117;0.0415806624332905;0.0405815066592104;0.0395823103036269;
0.0385830743657361;0.0375837998447745;0.0365844877400162;0.0355851390507733;0.0345857547763937;0.0335863359162628;0.0325868834697987;0.0315873984364539;0.0305878818157128;
0.0295883346070929;0.0285887578101409;0.0275891524244334;0.0265895194495754;0.0255898598852006;0.0245901747309680;0.0235904649865627;0.0225907316516940;0.0215909757260960;
0.0205911982095240;0.0195914001017555;0.0185915824025881;0.0175917461118403;0.0165918922293479;0.0155920217549646;0.0145921356885604;0.0135922350300222;0.0125923207792501;
0.0115923939361583;0.0105924555006730;0.00959250647273359;0.00859254785228849;0.00759258063929626;0.00659260583372357;0.00559262443554604;0.00459263744474454;0.00359264586130598;
0.00259265068522142;0.00159265291648683;0.000592653555099454;-0.000407346398941426;-0.00140734594563639;-0.00240734408498507;-0.00340733981698987;-0.00440733214165514;-0.00540732005898908;
-0.00640730256900297;-0.00740727867171482;-0.00840724736714862;-0.00940720765533619;-0.0104071585363165;-0.0114070990101390;-0.0124070280768636;-0.0134069447365615;-0.0144068479893154;
-0.0154067368352225;-0.0164066102743940;-0.0174064673069570;-0.0184063069330538;-0.0194061281528452;-0.0204059299665100;-0.0214057113742470;-0.0224054713762740;-0.0234052089728314;
-0.0244049231641819;-0.0254046129506116;-0.0264042773324301;-0.0274039153099735;-0.0284035258836038;-0.0294031080537110;-0.0304026608207122;-0.0314021831850551;-0.0324016741472175;
-0.0334011327077088;-0.0344005578670698;-0.0353999486258758;-0.0363993039847361;-0.0373986229442959;-0.0383979045052354;-0.0393971476682736;-0.0403963514341674;-0.0413955148037136;
-0.0423946367777480;-0.0433937163571492;-0.0443927525428376;-0.0453917443357776;-0.0463906907369766;-0.0473895907474888;-0.0483884433684142;-0.0493872476009006;-0.0503860024461431;
-0.0513847069053874;-0.0523833599799291;-0.0533819606711156;-0.0543805079803454;-0.0553790009090718;-0.0563774384588019;-0.0573758196310986;-0.0583741434275801;-0.0593724088499230;
-0.0603706148998620;-0.0613687605791911;-0.0623668448897653;-0.0633648668334992;-0.0643628254123717;-0.0653607196284240;-0.0663585484837627;-0.0673563109805579;-0.0683540061210478;
-0.0693516329075372;-0.0703491903424000;-0.0713466774280778;-0.0723440931670842;-0.0733414365620034;-0.0743387066154926;-0.0753359023302810;-0.0763330227091733;-0.0773300667550492;
-0.0783270334708653;-0.0793239218596540;-0.0803207309245274;-0.0813174596686767;-0.0823141070953734;-0.0833106722079695;-0.0843071540099003;-0.0853035515046842;-0.0862998636959240;
-0.0872960895873070;-0.0882922281826076;-0.0892882784856874;-0.0902842395004966;-0.0912801102310734;-0.0922758896815475;-0.0932715768561397;-0.0942671707591632;-0.0952626703950234;
-0.0962580747682211;-0.0972533828833521;-0.0982485937451087;-0.0992437063582793;-0.100238719727752;-0.101233632858513;-0.102228444755650;-0.103223154424351;-0.104217760869905;
-0.105212263097708;-0.106206660113257;-0.107200950922153;-0.108195134530108;-0.109189209942938;-0.110183176166567;-0.111177032207028;-0.112170777070467;-0.113164409763138;
-0.114157929291409;-0.115151334661760;-0.116144624880785;-0.117137798955196;-0.118130855891818;-0.119123794697593;-0.120116614379584;-0.121109313944970;-0.122101892401053;
-0.123094348755253;-0.124086682015114;-0.125078891188304;-0.126070975282614;-0.127062933305958;-0.128054764266380;-0.129046467172048;-0.130038041031260;-0.131029484852441;
-0.132020797644149;-0.133011978415070;-0.134003026174024;-0.134993939929962;-0.135984718691972;-0.136975361469274;-0.137965867271227;-0.138956235107324;-0.139946463987197;
-0.140936552920618;-0.141926500917498;-0.142916306987889;-0.143905970141984;-0.144895489390121;-0.145884863742782;-0.146874092210590;-0.147863173804319;-0.148852107534885;
-0.149840892413358;-0.150829527450950;-0.151818011659027;-0.152806344049105;-0.153794523632852;-0.154782549422088;-0.155770420428787;-0.156758135665079;-0.157745694143249;
-0.158733094875737;-0.159720336875144;-0.160707419154227;-0.161694340725904;-0.162681100603255;-0.163667697799518;-0.164654131328096;-0.165640400202558;-0.166626503436633;
-0.167612440044218;-0.168598209039378;-0.169583809436342;-0.170569240249511;-0.171554500493454;-0.172539589182911;-0.173524505332793;-0.174509247958184;-0.175493816074342;
-0.176478208696698;-0.177462424840861;-0.178446463522613;-0.179430323757916;-0.180414004562911;-0.181397504953916;-0.182380823947432;-0.183363960560138;-0.184346913808900;
-0.185329682710763;-0.186312266282958;-0.187294663542903;-0.188276873508200;-0.189258895196639;-0.190240727626199;-0.191222369815047;-0.192203820781541;-0.193185079544230;
-0.194166145121856;-0.195147016533353;-0.196127692797850;-0.197108172934670;-0.198088455963334;-0.199068540903558;-0.200048426775258;-0.201028112598548;-0.202007597393742;
-0.202986880181355;-0.203965959982105;-0.204944835816912;-0.205923506706901;-0.206901971673400;-0.207880229737944;-0.208858279922276;-0.209836121248346;-0.210813752738312;
-0.211791173414542;-0.212768382299617;-0.213745378416327;-0.214722160787677;-0.215698728436883;-0.216675080387380;-0.217651215662814;-0.218627133287050;-0.219602832284172;
-0.220578311678479;-0.221553570494493;-0.222528607756955;-0.223503422490828;-0.224478013721297;-0.225452380473771;-0.226426521773883;-0.227400436647492;-0.228374124120684;
-0.229347583219771;-0.230320812971293;-0.231293812402022;-0.232266580538957;-0.233239116409332;-0.234211419040609;-0.235183487460487;-0.236155320696897;-0.237126917778006;
-0.238098277732217;-0.239069399588170;-0.240040282374744;-0.241010925121055;-0.241981326856461;-0.242951486610560;-0.243921403413193;-0.244891076294443;-0.245860504284637;
-0.246829686414347;-0.247798621714391;-0.248767309215835;-0.249735747949990;-0.250703936948417;-0.251671875242929;-0.252639561865586;-0.253606995848703;-0.254574176224845;
-0.255541102026831;-0.256507772287738;-0.257474186040893;-0.258440342319883;-0.259406240158553;-0.260371878591004;-0.261337256651599;-0.262302373374958;-0.263267227795966;
-0.264231818949768;-0.265196145871773;-0.266160207597655;-0.267124003163351;-0.268087531605066;-0.269050791959272;-0.270013783262708;-0.270976504552383;-0.271938954865577;
-0.272901133239838;-0.273863038712989;-0.274824670323124;-0.275786027108612;-0.276747108108095;-0.277707912360493;-0.278668438905003;-0.279628686781096;-0.280588655028526;
-0.281548342687324;-0.282507748797803;-0.283466872400558;-0.284425712536463;-0.285384268246679;-0.286342538572650;-0.287300522556108;-0.288258219239066;-0.289215627663829;
-0.290172746872989;-0.291129575909426;-0.292086113816311;-0.293042359637107;-0.293998312415568;-0.294953971195741;-0.295909335021967;-0.296864402938882;-0.297819173991420;
-0.298773647224808;-0.299727821684574;-0.300681696416544;-0.301635270466841;-0.302588542881894;-0.303541512708429;-0.304494178993477;-0.305446540784371;-0.306398597128750;
-0.307350347074557;-0.308301789670042;-0.309252923963763;-0.310203749004587;-0.311154263841687;-0.312104467524550;-0.313054359102970;-0.314003937627058;-0.314953202147235;
-0.315902151714235;-0.316850785379110;-0.317799102193226;-0.318747101208266;-0.319694781476232;-0.320642142049443;-0.321589181980538;-0.322535900322479;-0.323482296128546;
-0.324428368452343;-0.325374116347800;-0.326319538869167;-0.327264635071022;-0.328209404008270;-0.329153844736141;-0.330097956310195;-0.331041737786320;-0.331985188220734;
-0.332928306669988;-0.333871092190964;-0.334813543840874;-0.335755660677269;-0.336697441758031;-0.337638886141380;-0.338579992885870;-0.339520761050396;-0.340461189694189;
-0.341401277876821;-0.342341024658203;-0.343280429098589;-0.344219490258575;-0.345158207199099;-0.346096578981445;-0.347034604667240;-0.347972283318460;-0.348909613997426;
-0.349846595766806;-0.350783227689620;-0.351719508829235;-0.352655438249371;-0.353591015014098;-0.354526238187840;-0.355461106835373;-0.356395620021829;-0.357329776812694;
-0.358263576273812;-0.359197017471384;-0.360130099471969;-0.361062821342483;-0.361995182150207;-0.362927180962779;-0.363858816848200;-0.364790088874834;-0.365720996111410;
-0.366651537627020;-0.367581712491124;-0.368511519773545;-0.369440958544477;-0.370370027874482;-0.371298726834489;-0.372227054495801;-0.373155009930089;-0.374082592209398;
-0.375009800406147;-0.375936633593126;-0.376863090843503;-0.377789171230820;-0.378714873828998;-0.379640197712333;-0.380565141955503;-0.381489705633562;-0.382413887821947;
-0.383337687596476;-0.384261104033350;-0.385184136209152;-0.386106783200849;-0.387029044085796;-0.387950917941730;-0.388872403846779;-0.389793500879457;-0.390714208118666;
-0.391634524643700;-0.392554449534241;-0.393473981870367;-0.394393120732542;-0.395311865201630;-0.396230214358886;-0.397148167285960;-0.398065723064900;-0.398982880778150;
-0.399899639508553;-0.400815998339350;-0.401731956354181;-0.402647512637090;-0.403562666272519;-0.404477416345317;-0.405391761940731;-0.406305702144417;-0.407219236042435;
-0.408132362721251;-0.409045081267738;-0.409957390769177;-0.410869290313261;-0.411780778988088;-0.412691855882170;-0.413602520084431;-0.414512770684207;-0.415422606771246;
-0.416332027435713;-0.417241031768188;-0.418149618859665;-0.419057787801559;-0.419965537685699;-0.420872867604337;-0.421779776650142;-0.422686263916206;-0.423592328496041;
-0.424497969483583;-0.425403185973190;-0.426307977059648;-0.427212341838163;-0.428116279404373;-0.429019788854338;-0.429922869284551;-0.430825519791931;-0.431727739473826;
-0.432629527428017;-0.433530882752718;-0.434431804546572;-0.435332291908657;-0.436232343938487;-0.437131959736009;-0.438031138401608;-0.438929879036105;-0.439828180740760;
-0.440726042617270;-0.441623463767775;-0.442520443294852;-0.443416980301524;-0.444313073891251;-0.445208723167943;-0.446103927235947;-0.446998685200062;-0.447892996165529;
-0.448786859238037;-0.449680273523724;-0.450573238129174;-0.451465752161423;-0.452357814727959;-0.453249424936716;-0.454140581896087;-0.455031284714914;-0.455921532502494;
-0.456811324368580;-0.457700659423379;-0.458589536777557;-0.459477955542236;-0.460365914828998;-0.461253413749884;-0.462140451417394;-0.463027026944492;-0.463913139444601;
-0.464798788031609;-0.465683971819868;-0.466568689924194;-0.467452941459869;-0.468336725542641;-0.469220041288727;-0.470102887814811;-0.470985264238046;-0.471867169676056;
-0.472748603246936;-0.473629564069252;-0.474510051262043;-0.475390063944823;-0.476269601237578;-0.477148662260772;-0.478027246135343;-0.478905351982708;-0.479782978924760;
-0.480660126083875;-0.481536792582902;-0.482412977545178;-0.483288680094516;-0.484163899355214;-0.485038634452053;-0.485912884510298;-0.486786648655699;-0.487659926014493;
-0.488532715713400;-0.489405016879633;-0.490276828640890;-0.491148150125359;-0.492018980461718;-0.492889318779138;-0.493759164207281;-0.494628515876300;-0.495497372916845;
-0.496365734460058;-0.497233599637578;-0.498100967581540;-0.498967837424576;-0.499834208299815;-0.500700079340889;-0.501565449681925;-0.502430318457552;-0.503294684802903;
-0.504158547853612;-0.505021906745814;-0.505884760616152;-0.506747108601771;-0.507608949840324;-0.508470283469970;-0.509331108629374;-0.510191424457712;-0.511051230094668;
-0.511910524680437;-0.512769307355724;-0.513627577261746;-0.514485333540233;-0.515342575333431;-0.516199301784095;-0.517055512035501;-0.517911205231437;-0.518766380516212;
-0.519621037034650;-0.520475173932093;-0.521328790354407;-0.522181885447973;-0.523034458359697;-0.523886508237007;-0.524738034227852;-0.525589035480707;-0.526439511144569;
-0.527289460368965;-0.528138882303944;-0.528987776100085;-0.529836140908493;-0.530683975880805;-0.531531280169186;-0.532378052926330;-0.533224293305466;-0.534070000460353;
-0.534915173545284;-0.535759811715087;-0.536603914125122;-0.537447479931287;-0.538290508290018;-0.539132998358285;-0.539974949293599;-0.540816360254008;-0.541657230398102;
-0.542497558885011;-0.543337344874406;-0.544176587526502;-0.545015286002055;-0.545853439462368;-0.546691047069287;-0.547528107985205;-0.548364621373059;-0.549200586396339;
-0.550036002219078;-0.550870868005860;-0.551705182921820;-0.552538946132643;-0.553372156804567;-0.554204814104379;-0.555036917199424;-0.555868465257597;-0.556699457447352;
-0.557529892937696;-0.558359770898193;-0.559189090498966;-0.560017850910695;-0.560846051304620;-0.561673690852540;-0.562500768726816;-0.563327284100370;-0.564153236146687;
-0.564978624039815;-0.565803446954366;-0.566627704065517;-0.567451394549011;-0.568274517581158;-0.569097072338835;-0.569919057999487;-0.570740473741129;-0.571561318742344;
-0.572381592182288;-0.573201293240688;-0.574020421097842;-0.574838974934623;-0.575656953932476;-0.576474357273425;-0.577291184140063;-0.578107433715566;-0.578923105183683;
-0.579738197728743;-0.580552710535654;-0.581366642789902;-0.582179993677557;-0.582992762385266;-0.583804948100261;-0.584616550010357;-0.585427567303951;-0.586237999170027;
-0.587047844798153;-0.587857103378483;-0.588665774101758;-0.589473856159309;-0.590281348743052;-0.591088251045496;-0.591894562259738;-0.592700281579467;-0.593505408198964;
-0.594309941313102;-0.595113880117348;-0.595917223807764;-0.596719971581006;-0.597522122634326;-0.598323676165573;-0.599124631373193;-0.599924987456233;-0.600724743614334;
-0.601523899047742;-0.602322452957302;-0.603120404544459;-0.603917753011261;-0.604714497560360;-0.605510637395013;-0.606306171719078;-0.607101099737022;-0.607895420653917;
-0.608689133675443;-0.609482238007885;-0.610274732858140;-0.611066617433713;-0.611857890942719;-0.612648552593886;-0.613438601596551;-0.614228037160665;-0.615016858496794;
-0.615805064816115;-0.616592655330423;-0.617379629252126;-0.618165985794253;-0.618951724170444;-0.619736843594963;-0.620521343282690;-0.621305222449126;-0.622088480310391;
-0.622871116083227;-0.623653128985000;-0.624434518233695;-0.625215283047924;-0.625995422646922;-0.626774936250550;-0.627553823079294;-0.628332082354266;-0.629109713297209;
-0.629886715130491;-0.630663087077111;-0.631438828360695;-0.632213938205504;-0.632988415836428;-0.633762260478989;-0.634535471359341;-0.635308047704276;-0.636079988741215;
-0.636851293698219;-0.637621961803982;-0.638391992287837;-0.639161384379752;-0.639930137310337;-0.640698250310837;-0.641465722613140;-0.642232553449775;-0.642998742053909;
MATLAB Command History Page 115
May 7, 2019 3:46:17 PM
-0.643764287659355;-0.644529189500567;-0.645293446812643;-0.646057058831326;-0.646820024793004;-0.647582343934711;-0.648344015494128;-0.649105038709584;-0.649865412820055;
-0.650625137065167;-0.651384210685197;-0.652142632921070;-0.652900403014365;-0.653657520207311;-0.654413983742791;-0.655169792864342;-0.655924946816155;-0.656679444843076;
-0.657433286190606;-0.658186470104905;-0.658938995832789;-0.659690862621732;-0.660442069719867;-0.661192616375988;-0.661942501839547;-0.662691725360660;-0.663440286190102;
-0.664188183579314;-0.664935416780397;-0.665681985046119;-0.666427887629912;-0.667173123785872;-0.667917692768764;-0.668661593834019;-0.669404826237736;-0.670147389236682;
-0.670889282088296;-0.671630504050683;-0.672371054382621;-0.673110932343562;-0.673850137193626;-0.674588668193609;-0.675326524604980;-0.676063705689883;-0.676800210711137;
-0.677536038932236;-0.678271189617353;-0.679005662031336;-0.679739455439715;-0.680472569108694;-0.681205002305161;-0.681936754296682;-0.682667824351507;-0.683398211738563;
-0.684127915727465;-0.684856935588508;-0.685585270592672;-0.686312920011623;-0.687039883117712;-0.687766159183974;-0.688491747484134;-0.689216647292605;-0.689940857884485;
-0.690664378535565;-0.691387208522325;-0.692109347121933;-0.692830793612252;-0.693551547271834;-0.694271607379928;-0.694990973216472;-0.695709644062101;-0.696427619198143;
-0.697144897906625;-0.697861479470266;-0.698577363172486;-0.699292548297402;-0.700007034129827;-0.700720819955276;-0.701433905059964;-0.702146288730805;-0.702857970255417;
-0.703568948922116;-0.704279224019925;-0.704988794838569;-0.705697660668477;-0.706405820800783;-0.707113274527326;-0.707820021140655;-0.708526059934021;-0.709231390201386;
-0.709936011237420;-0.710639922337502;-0.711343122797721;-0.712045611914877;-0.712747388986480;-0.713448453310753;-0.714148804186632;-0.714848440913767;-0.715547362792520;
-0.716245569123971;-0.716943059209912;-0.717639832352853;-0.718335887856022;-0.719031225023362;-0.719725843159538;-0.720419741569931;-0.721112919560641;-0.721805376438493;
-0.722497111511028;-0.723188124086512;-0.723878413473932;-0.724567978982999;-0.725256819924148;-0.725944935608536;-0.726632325348050;-0.727318988455299;-0.728004924243620;
-0.728690132027078;-0.729374611120464;-0.730058360839300;-0.730741380499836;-0.731423669419052;-0.732105226914660;-0.732786052305101;-0.733466144909552;-0.734145504047919;
-0.734824129040843;-0.735502019209699;-0.736179173876597;-0.736855592364383;-0.737531273996638;-0.738206218097680;-0.738880423992566;-0.739553891007089;-0.740226618467783;
-0.740898605701920;-0.741569852037513;-0.742240356803316;-0.742910119328824;-0.743579138944275;-0.744247414980648;-0.744914946769669;-0.745581733643805;-0.746247774936269;
-0.746913069981021;-0.747577618112765;-0.748241418666953;-0.748904470979784;-0.749566774388208;-0.750228328229919;-0.750889131843365;-0.751549184567741;-0.752208485742995;
-0.752867034709827;-0.753524830809686;-0.754181873384777;-0.754838161778058;-0.755493695333240;-0.756148473394789;-0.756802495307928;-0.757455760418635;-0.758108268073645;
-0.758760017620450;-0.759411008407300;-0.760061239783205;-0.760710711097934;-0.761359421702015;-0.762007370946738;-0.762654558184153;-0.763300982767073;-0.763946644049075;
-0.764591541384497;-0.765235674128440;-0.765879041636773;-0.766521643266128;-0.767163478373904;-0.767804546318266;-0.768444846458145;-0.769084378153242;-0.769723140764024;
-0.770361133651730;-0.770998356178367;-0.771634807706711;-0.772270487600313;-0.772905395223491;-0.773539529941338;-0.774172891119720;-0.774805478125275;-0.775437290325416;
-0.776068327088332;-0.776698587782985;-0.777328071779116;-0.777956778447240;-0.778584707158649;-0.779211857285417;-0.779838228200392;-0.780463819277204;-0.781088629890261;
-0.781712659414754;-0.782335907226653;-0.782958372702710;-0.783580055220458;-0.784200954158218;-0.784821068895088;-0.785440398810955;-0.786058943286489;-0.786676701703144;
-0.787293673443164;-0.787909857889576;-0.788525254426195;-0.789139862437626;-0.789753681309260;-0.790366710427279;-0.790978949178653;-0.791590396951144;-0.792201053133304;
-0.792810917114477;-0.793419988284798;-0.794028266035198;-0.794635749757397;-0.795242438843913;-0.795848332688057;-0.796453430683934;-0.797057732226447;-0.797661236711294;
-0.798263943534970;-0.798865852094771;-0.799466961788785;-0.800067272015904;-0.800666782175818;-0.801265491669016;-0.801863399896789;-0.802460506261230;-0.803056810165231;
-0.803652311012488;-0.804247008207502;-0.804840901155574;-0.805433989262813;-0.806026271936129;-0.806617748583241;-0.807208418612671;-0.807798281433749;-0.808387336456614;
-0.808975583092210;-0.809563020752290;-0.810149648849416;-0.810735466796961;-0.811320474009107;-0.811904669900847;-0.812488053887984;-0.813070625387136;-0.813652383815729;
-0.814233328592007;-0.814813459135024;-0.815392774864649;-0.815971275201568;-0.816548959567280;-0.817125827384099;-0.817701878075160;-0.818277111064410;-0.818851525776618;
-0.819425121637369;-0.819997898073065;-0.820569854510933;-0.821140990379014;-0.821711305106173;-0.822280798122096;-0.822849468857288;-0.823417316743081;-0.823984341211626;
-0.824550541695897;-0.825115917629697;-0.825680468447647;-0.826244193585197;-0.826807092478623;-0.827369164565025;-0.827930409282331;-0.828490826069298;-0.829050414365507;
-0.829609173611371;-0.830167103248131;-0.830724202717856;-0.831280471463448;-0.831835908928637;-0.832390514557987;-0.832944287796892;-0.833497228091579;-0.834049334889107;
-0.834600607637369;-0.835151045785094;-0.835700648781842;-0.836249416078011;-0.836797347124834;-0.837344441374379;-0.837890698279552;-0.838436117294098;-0.838980697872596;
-0.839524439470465;-0.840067341543966;-0.840609403550195;-0.841150624947090;-0.841691005193431;-0.842230543748836;-0.842769240073768;-0.843307093629530;-0.843844103878268;
-0.844380270282974;-0.844915592307479;-0.845450069416462;-0.845983701075447;-0.846516486750800;-0.847048425909738;-0.847579518020320;-0.848109762551455;-0.848639158972898;
-0.849167706755252;-0.849695405369971;-0.850222254289355;-0.850748252986556;-0.851273400935575;-0.851797697611263;-0.852321142489325;-0.852843735046316;-0.853365474759642;
-0.853886361107565;-0.854406393569198;-0.854925571624509;-0.855443894754319;-0.855961362440306;-0.856477974165001;-0.856993729411794;-0.857508627664929;-0.858022668409508;
-0.858535851131489;-0.859048175317691;-0.859559640455790;-0.860070246034320;-0.860579991542675;-0.861088876471110;-0.861596900310741;-0.862104062553543;-0.862610362692355;
-0.863115800220875;-0.863620374633667;-0.864124085426157;-0.864626932094633;-0.865128914136250;-0.865630031049024;-0.866130282331839;-0.866629667484444;-0.867128186007454;
-0.867625837402350;-0.868122621171481;-0.868618536818063;-0.869113583846181;-0.869607761760787;-0.870101070067704;-0.870593508273624;-0.871085075886108;-0.871575772413588;
-0.872065597365369;-0.872554550251625;-0.873042630583403;-0.873529837872624;-0.874016171632079;-0.874501631375436;-0.874986216617234;-0.875469926872889;-0.875952761658690;
-0.876434720491801;-0.876915802890266;-0.877396008373001;-0.877875336459800;-0.878353786671336;-0.878831358529159;-0.879308051555696;-0.879783865274255;-0.880258799209022;
-0.880732852885064;-0.881206025828325;-0.881678317565635;-0.882149727624700;-0.882620255534111;-0.883089900823341;-0.883558663022742;-0.884026541663555;-0.884493536277900;
-0.884959646398781;-0.885424871560091;-0.885889211296603;-0.886352665143977;-0.886815232638760;-0.887276913318383;-0.887737706721168;-0.888197612386320;-0.888656629853934;
-0.889114758664992;-0.889571998361365;-0.890028348485814;-0.890483808581989;-0.890938378194429;-0.891392056868565;-0.891844844150719;-0.892296739588103;-0.892747742728822;
-0.893197853121872;-0.893647070317143;-0.894095393865420;-0.894542823318376;-0.894989358228584;-0.895434998149508;-0.895879742635508;-0.896323591241841;-0.896766543524657;
-0.897208599041004;-0.897649757348827;-0.898090018006967;-0.898529380575164;-0.898967844614056;-0.899405409685178;-0.899842075350965;-0.900277841174752;-0.900712706720772;
-0.901146671554161;-0.901579735240953;-0.902011897348086;-0.902443157443396;-0.902873515095624;-0.903302969874412;-0.903731521350306;-0.904159169094753;-0.904585912680107;
-0.905011751679623;-0.905436685667463;-0.905860714218693;-0.906283836909284;-0.906706053316114;-0.907127363016966;-0.907547765590531;-0.907967260616405;-0.908385847675095;
-0.908803526348013;-0.909220296217480;-0.909636156866726;-0.910051107879892;-0.910465148842026;-0.910878279339086;-0.911290498957944;-0.911701807286377;-0.912112203913080;
-0.912521688427655;-0.912930260420618;-0.913337919483396;-0.913744665208331;-0.914150497188677;-0.914555415018601;-0.914959418293187;-0.915362506608431;-0.915764679561245;
-0.916165936749455;-0.916566277771805;-0.916965702227954;-0.917364209718476;-0.917761799844866;-0.918158472209532;-0.918554226415802;-0.918949062067923;-0.919342978771058;
-0.919735976131290;-0.920128053755624;-0.920519211251980;-0.920909448229202;-0.921298764297052;-0.921687159066215;-0.922074632148295;-0.922461183155821;-0.922846811702240;
-0.923231517401924;-0.923615299870167;-0.923998158723188;-0.924380093578127;-0.924761104053049;-0.925141189766945;-0.925520350339728;-0.925898585392237;-0.926275894546239;
-0.926652277424423;-0.927027733650406;-0.927402262848734;-0.927775864644876;-0.928148538665230;-0.928520284537123;-0.928891101888809;-0.929260990349471;-0.929629949549219;
-0.929997979119096;-0.930365078691071;-0.930731247898045;-0.931096486373848;-0.931460793753243;-0.931824169671921;-0.932186613766508;-0.932548125674558;-0.932908705034561;
-0.933268351485936;-0.933627064669037;-0.933984844225152;-0.934341689796500;-0.934697601026236;-0.935052577558449;-0.935406619038163;-0.935759725111335;-0.936111895424860;
-0.936463129626568;-0.936813427365225;-0.937162788290531;-0.937511212053128;-0.937858698304591;-0.938205246697434;-0.938550856885108;-0.938895528522003;-0.939239261263449;
-0.939582054765711;-0.939923908685996;-0.940264822682452;-0.940604796414163;-0.940943829541156;-0.941281921724398;-0.941619072625796;-0.941955281908201;-0.942290549235402;
-0.942624874272132;-0.942958256684067;-0.943290696137823;-0.943622192300962;-0.943952744841988;-0.944282353430347;-0.944611017736431;-0.944938737431577;-0.945265512188063;
-0.945591341679117;-0.945916225578907;-0.946240163562551;-0.946563155306110;-0.946885200486592;-0.947206298781953;-0.947526449871094;-0.947845653433864;-0.948163909151060;
-0.948481216704426;-0.948797575776654;-0.949112986051385;-0.949427447213209;-0.949740958947665;-0.950053520941242;-0.950365132881376;-0.950675794456457;-0.950985505355823;
-0.951294265269762;-0.951602073889516;-0.951908930907275;-0.952214836016182;-0.952519788910333;-0.952823789284774;-0.953126836835506;-0.953428931259479;-0.953730072254602;
-0.954030259519731;-0.954329492754680;-0.954627771660216;-0.954925095938060;-0.955221465290888;-0.955516879422330;-0.955811338036972;-0.956104840840356;-0.956397387538978;
-0.956688977840293;-0.956979611452710;-0.957269288085595;-0.957558007449271;-0.957845769255020;-0.958132573215080;-0.958418419042646;-0.958703306451873;-0.958987235157873;
-0.959270204876718;-0.959552215325439;-0.959833266222024;-0.960113357285422;-0.960392488235543;-0.960670658793257;-0.960947868680391;-0.961224117619737;-0.961499405335045;
-0.961773731551028;-0.962047095993360;-0.962319498388676;-0.962590938464573;-0.962861415949613;-0.963130930573317;-0.963399482066170;-0.963667070159622;-0.963933694586084;
-0.964199355078931;-0.964464051372504;-0.964727783202105;-0.964990550304004;-0.965252352415434;-0.965513189274591;-0.965773060620639;-0.966031966193707;-0.966289905734889;
-0.966546878986247;-0.966802885690805;-0.967057925592559;-0.967311998436468;-0.967565103968459;-0.967817241935426;-0.968068412085232;-0.968318614166707;-0.968567847929649;
-0.968816113124823;-0.969063409503964;-0.969309736819777;-0.969555094825934;-0.969799483277077;-0.970042901928818;-0.970285350537737;-0.970526828861387;-0.970767336658288;
-0.971006873687934;-0.971245439710788;-0.971483034488282;-0.971719657782823;-0.971955309357787;-0.972189988977522;-0.972423696407350;-0.972656431413562;-0.972888193763425;
-0.973118983225174;-0.973348799568021;-0.973577642562150;-0.973805511978717;-0.974032407589853;-0.974258329168664;-0.974483276489225;-0.974707249326592;-0.974930247456791;
-0.975152270656823;-0.975373318704667;-0.975593391379272;-0.975812488460568;-0.976030609729456;-0.976247754967816;-0.976463923958503;-0.976679116485346;-0.976893332333155;
-0.977106571287713;-0.977318833135781;-0.977530117665097;-0.977740424664377;-0.977949753923314;-0.978158105232578;-0.978365478383819;-0.978571873169663;-0.978777289383715;
-0.978981726820560;-0.979185185275759;-0.979387664545854;-0.979589164428367;-0.979789684721797;-0.979989225225624;-0.980187785740307;-0.980385366067286;-0.980581966008980;
-0.980777585368791;-0.980972223951098;-0.981165881561262;-0.981358558005627;-0.981550253091516;-0.981740966627233;-0.981930698422065;-0.982119448286281;-0.982307216031131;
-0.982494001468846;-0.982679804412641;-0.982864624676714;-0.983048462076245;-0.983231316427395;-0.983413187547311;-0.983594075254121;-0.983773979366938;-0.983952899705857;
-0.984130836091959;-0.984307788347307;-0.984483756294948;-0.984658739758915;-0.984832738564224;-0.985005752536877;-0.985177781503860;-0.985348825293143;-0.985518883733682;
-0.985687956655421;-0.985856043889284;-0.986023145267186;-0.986189260622025;-0.986354389787685;-0.986518532599038;-0.986681688891941;-0.986843858503237;-0.987005041270756;
-0.987165237033317;-0.987324445630722;-0.987482666903765;-0.987639900694222;-0.987796146844862;-0.987951405199437;-0.988105675602689;-0.988258957900347;-0.988411251939131;
-0.988562557566744;-0.988712874631883;-0.988862202984229;-0.989010542474454;-0.989157892954220;-0.989304254276175;-0.989449626293958;-0.989594008862197;-0.989737401836510;
-0.989879805073504;-0.990021218430775;-0.990161641766910;-0.990301074941486;-0.990439517815069;-0.990576970249217;-0.990713432106478;-0.990848903250389;-0.990983383545479;
-0.991116872857268;-0.991249371052267;-0.991380877997978;-0.991511393562893;-0.991640917616497;-0.991769450029266;-0.991896990672668;-0.992023539419162;-0.992149096142199;
-0.992273660716222;-0.992397233016668;-0.992519812919963;-0.992641400303528;-0.992761995045776;-0.992881597026111;-0.993000206124932;-0.993117822223629;-0.993234445204587;
-0.993350074951183;-0.993464711347786;-0.993578354279761;-0.993691003633465;-0.993802659296247;-0.993913321156453;-0.994022989103421;-0.994131663027482;-0.994239342819964;
-0.994346028373185;-0.994451719580461;-0.994556416336100;-0.994660118535406;-0.994762826074676;-0.994864538851202;-0.994965256763273;-0.995064979710170;-0.995163707592170;
-0.995261440310546;-0.995358177767564;-0.995453919866488;-0.995548666511574;-0.995642417608077;-0.995735173062245;-0.995826932781324;-0.995917696673552;-0.996007464648167;
-0.996096236615400;-0.996184012486479;-0.996270792173629;-0.996356575590070;-0.996441362650018;-0.996525153268687;-0.996607947362286;-0.996689744848020;-0.996770545644092;
-0.996850349669702;-0.996929156845045;-0.997006967091314;-0.997083780330700;-0.997159596486388;-0.997234415482563;-0.997308237244405;-0.997381061698093;-0.997452888770803;
-0.997523718390707;-0.997593550486976;-0.997662384989777;-0.997730221830277;-0.997797060940638;-0.997862902254021;-0.997927745704585;-0.997991591227486;-0.998054438758879;
-0.998116288235917;-0.998177139596750;-0.998236992780526;-0.998295847727393;-0.998353704378495;-0.998410562675976;-0.998466422562978;-0.998521283983640;-0.998575146883101;
-0.998628011207499;-0.998679876903969;-0.998730743920645;-0.998780612206660;-0.998829481712146;-0.998877352388234;-0.998924224187053;-0.998970097061731;-0.999014970966395;
-0.999058845856171;-0.999101721687185;-0.999143598416560;-0.999184476002420;-0.999224354403888;-0.999263233581084;-0.999301113495130;-0.999337994108145;-0.999373875383250;
-0.999408757284563;-0.999442639777202;-0.999475522827284;-0.999507406401927;-0.999538290469246;-0.999568174998359;-0.999597059959380;-0.999624945323424;-0.999651831062606;
-0.999677717150040;-0.999702603559841;-0.999726490267121;-0.999749377247994;-0.999771264479573;-0.999792151939972;-0.999812039608301;-0.999830927464674;-0.999848815490203;
-0.999865703667000;-0.999881591978177;-0.999896480407845;-0.999910368941116;-0.999923257564101;-0.999935146263912;-0.999946035028660;-0.999955923847456;-0.999964812710412;
-0.999972701608639;-0.999979590534247;-0.999985479480348;-0.999990368441053;-0.999994257411472;-0.999997146387718;-0.999999035366901;-0.999999924347131;-0.999999813327521;
-0.999998702308180;-0.999996591290221;-0.999993480275753;-0.999989369267889;-0.999984258270739;-0.999978147289414;-0.999971036330025;-0.999962925399682;-0.999953814506498;
-0.999943703659583;-0.999932592869047;-0.999920482146002;-0.999907371502558;-0.999893260951825;-0.999878150507915;-0.999862040185938;-0.999844930002004;-0.999826819973224;
-0.999807710117706;-0.999787600454562;-0.999766491003901;-0.999744381786832;-0.999721272825465;-0.999697164142908;-0.999672055763270;-0.999645947711660;-0.999618840014185;
-0.999590732697954;-0.999561625791073;-0.999531519322650;-0.999500413322791;-0.999468307822602;-0.999435202854188;-0.999401098450655;-0.999365994646106;-0.999329891475646;
-0.999292788975378;-0.999254687182404;-0.999215586134826;-0.999175485871746;-0.999134386433263;-0.999092287860476;-0.999049190195485;-0.999005093481387;-0.998959997762279;
-0.998913903083257;-0.998866809490414;-0.998818717030846;-0.998769625752643;-0.998719535704898;-0.998668446937700;-0.998616359502139;-0.998563273450302;-0.998509188835274;
-0.998454105711140;-0.998398024132984;-0.998340944156888;-0.998282865839930;-0.998223789240189;-0.998163714416743;-0.998102641429665;-0.998040570340029;-0.997977501209906;
-0.997913434102365;-0.997848369081473;-0.997782306212295;-0.997715245560893;-0.997647187194330;-0.997578131180662;-0.997508077588946;-0.997437026489236;-0.997364977952583;
-0.997291932051034;-0.997217888857637;-0.997142848446434;-0.997066810892466;-0.996989776271770;-0.996911744661380;-0.996832716139329;-0.996752690784645;-0.996671668677353;
-0.996589649898476;-0.996506634530032;-0.996422622655036;-0.996337614357501;-0.996251609722434;-0.996164608835841;-0.996076611784722;-0.995987618657073;-0.995897629541890;
-0.995806644529160;-0.995714663709868;-0.995621687175996;-0.995527715020519;-0.995432747337410;-0.995336784221637;-0.995239825769163;-0.995141872076945;-0.995042923242939;
-0.994942979366092;-0.994842040546349;-0.994740106884648;-0.994637178482924;-0.994533255444103;-0.994428337872110;-0.994322425871862;-0.994215519549271;-0.994107619011244;
-0.993998724365680;-0.993888835721475;-0.993777953188516;-0.993666076877688;-0.993553206900865;-0.993439343370918;-0.993324486401711;-0.993208636108100;-0.993091792605935;
-0.992973956012061;-0.992855126444314;-0.992735304021523;-0.992614488863510;-0.992492681091092;-0.992369880826075;-0.992246088191259;-0.992121303310439;-0.991995526308397;
-0.991868757310913;-0.991740996444753;-0.991612243837680;-0.991482499618445;-0.991351763916794;-0.991220036863461;-0.991087318590174;-0.990953609229650;-0.990818908915601;
-0.990683217782725;-0.990546535966713;-0.990408863604248;-0.990270200833003;-0.990130547791638;-0.989989904619809;-0.989848271458157;-0.989705648448317;-0.989562035732911;
-0.989417433455551;-0.989271841760840;-0.989125260794370;-0.988977690702722;-0.988829131633465;-0.988679583735159;-0.988529047157351;-0.988377522050579;-0.988225008566368;
-0.988071506857229;-0.987917017076667;-0.987761539379170;-0.987605073920215;-0.987447620856269;-0.987289180344785;-0.987129752544202;-0.986969337613949;-0.986807935714441;
-0.986645547007079;-0.986482171654253;-0.986317809819337;-0.986152461666693;-0.985986127361670;-0.985818807070602;-0.985650500960809;-0.985481209200597;-0.985310931959258;
-0.985139669407069;-0.984967421715293;-0.984794189056177;-0.984619971602954;-0.984444769529841;-0.984268583012042;-0.984091412225741;-0.983913257348109;-0.983734118557303;
-0.983553996032460;-0.983372889953703;-0.983190800502138;-0.983007727859854;-0.982823672209924;-0.982638633736404;-0.982452612624333;-0.982265609059730;-0.982077623229600;
-0.981888655321929;-0.981698705525684;-0.981507774030816;-0.981315861028256;-0.981122966709916;-0.980929091268691;-0.980734234898457;-0.980538397794069;-0.980341580151365;
-0.980143782167163;-0.979945004039261;-0.979745245966436;-0.979544508148447;-0.979342790786031;-0.979140094080906;-0.978936418235769;-0.978731763454294;-0.978526129941139;
-0.978319517901934;-0.978111927543294;-0.977903359072807;-0.977693812699042;-0.977483288631547;-0.977271787080844;-0.977059308258436;-0.976845852376800;-0.976631419649394;
-0.976416010290650;-0.976199624515976;-0.975982262541760;-0.975763924585362;-0.975544610865121;-0.975324321600350;-0.975103057011340;-0.974880817319353;-0.974657602746630;
-0.974433413516386;-0.974208249852809;-0.973982111981064;-0.973755000127288;-0.973526914518593;-0.973297855383064;-0.973067822949762;-0.972836817448717;-0.972604839110936;
MATLAB Command History Page 116
May 7, 2019 3:46:17 PM
-0.972371888168397;-0.972137964854051;-0.971903069401821;-0.971667202046602;-0.971430363024263;-0.971192552571641;-0.970953770926548;-0.970714018327765;-0.970473295015044;
-0.970231601229110;-0.969988937211654;-0.969745303205343;-0.969500699453809;-0.969255126201656;-0.969008583694458;-0.968761072178757;-0.968512591902065;-0.968263143112861;
-0.968012726060595;-0.967761340995684;-0.967508988169512;-0.967255667834433;-0.967001380243766;-0.966746125651800;-0.966489904313788;-0.966232716485953;-0.965974562425482;
-0.965715442390529;-0.965455356640214;-0.965194305434623;-0.964932289034807;-0.964669307702783;-0.964405361701531;-0.964140451294997;-0.963874576748093;-0.963607738326692;
-0.963339936297634;-0.963071170928719;-0.962801442488713;-0.962530751247346;-0.962259097475307;-0.961986481444251;-0.961712903426794;-0.961438363696513;-0.961162862527949;
-0.960886400196602;-0.960608976978936;-0.960330593152372;-0.960051248995295;-0.959770944787049;-0.959489680807939;-0.959207457339227;-0.958924274663139;-0.958640133062855;
-0.958355032822518;-0.958068974227228;-0.957781957563044;-0.957493983116983;-0.957205051177017;-0.956915162032081;-0.956624315972062;-0.956332513287807;-0.956039754271118;
-0.955746039214755;-0.955451368412432;-0.955155742158820;-0.954859160749546;-0.954561624481191;-0.954263133651290;-0.953963688558336;-0.953663289501772;-0.953361936781998;
-0.953059630700368;-0.952756371559186;-0.952452159661711;-0.952146995312157;-0.951840878815686;-0.951533810478416;-0.951225790607415;-0.950916819510702;-0.950606897497249;
-0.950296024876978;-0.949984201960761;-0.949671429060421;-0.949357706488732;-0.949043034559415;-0.948727413587142;-0.948410843887535;-0.948093325777163;-0.947774859573545;
-0.947455445595146;-0.947135084161380;-0.946813775592609;-0.946491520210141;-0.946168318336232;-0.945844170294084;-0.945519076407843;-0.945193037002606;-0.944866052404410;
-0.944538122940241;-0.944209248938027;-0.943879430726643;-0.943548668635907;-0.943216962996580;-0.942884314140370;-0.942550722399924;-0.942216188108834;-0.941880711601635;
-0.941544293213802;-0.941206933281754;-0.940868632142852;-0.940529390135396;-0.940189207598628;-0.939848084872732;-0.939506022298828;-0.939163020218981;-0.938819078976191;
-0.938474198914401;-0.938128380378490;-0.937781623714277;-0.937433929268518;-0.937085297388908;-0.936735728424079;-0.936385222723600;-0.936033780637975;-0.935681402518648;
-0.935328088717997;-0.934973839589335;-0.934618655486911;-0.934262536765910;-0.933905483782449;-0.933547496893583;-0.933188576457298;-0.932828722832513;-0.932467936379084;
-0.932106217457796;-0.931743566430369;-0.931379983659452;-0.931015469508630;-0.930650024342416;-0.930283648526254;-0.929916342426522;-0.929548106410525;-0.929178940846499;
-0.928808846103609;-0.928437822551951;-0.928065870562548;-0.927692990507351;-0.927319182759242;-0.926944447692026;-0.926568785680441;-0.926192197100146;-0.925814682327732;
-0.925436241740713;-0.925056875717529;-0.924676584637547;-0.924295368881057;-0.923913228829274;-0.923530164864341;-0.923146177369319;-0.922761266728197;-0.922375433325885;
-0.921988677548216;-0.921600999781947;-0.921212400414755;-0.920822879835239;-0.920432438432920;-0.920041076598240;-0.919648794722559;-0.919255593198161;-0.918861472418245;
-0.918466432776934;-0.918070474669267;-0.917673598491201;-0.917275804639614;-0.916877093512298;-0.916477465507966;-0.916076921026244;-0.915675460467677;-0.915273084233726;
-0.914869792726768;-0.914465586350092;-0.914060465507907;-0.913654430605332;-0.913247482048403;-0.912839620244068;-0.912430845600189;-0.912021158525540;-0.911610559429808;
-0.911199048723593;-0.910786626818406;-0.910373294126667;-0.909959051061711;-0.909543898037779;-0.909127835470024;-0.908710863774510;-0.908292983368208;-0.907874194668998;
-0.907454498095670;-0.907033894067918;-0.906612383006349;-0.906189965332472;-0.905766641468704;-0.905342411838372;-0.904917276865702;-0.904491236975831;-0.904064292594799;
-0.903636444149549;-0.903207692067931;-0.902778036778696;-0.902347478711499;-0.901916018296899;-0.901483655966355;-0.901050392152230;-0.900616227287789;-0.900181161807195;
-0.899745196145515;-0.899308330738713;-0.898870566023656;-0.898431902438108;-0.897992340420731;-0.897551880411090;-0.897110522849642;-0.896668268177747;-0.896225116837658;
-0.895781069272527;-0.895336125926401;-0.894890287244225;-0.894443553671835;-0.893995925655966;-0.893547403644246;-0.893097988085197;-0.892647679428235;-0.892196478123667;
-0.891744384622695;-0.891291399377413;-0.890837522840806;-0.890382755466751;-0.889927097710014;-0.889470550026253;-0.889013112872018;-0.888554786704742;-0.888095571982754;
-0.887635469165269;-0.887174478712388;-0.886712601085102;-0.886249836745289;-0.885786186155713;-0.885321649780026;-0.884856228082761;-0.884389921529343;-0.883922730586077;
-0.883454655720153;-0.882985697399648;-0.882515856093519;-0.882045132271607;-0.881573526404637;-0.881101038964213;-0.880627670422824;-0.880153421253838;-0.879678291931504;
-0.879202282930952;-0.878725394728190;-0.878247627800106;-0.877768982624468;-0.877289459679920;-0.876809059445986;-0.876327782403065;-0.875845629032435;-0.875362599816249;
-0.874878695237536;-0.874393915780200;-0.873908261929022;-0.873421734169655;-0.872934332988626;-0.872446058873337;-0.871956912312062;-0.871466893793947;-0.870976003809011;
-0.870484242848144;-0.869991611403107;-0.869498109966530;-0.869003739031916;-0.868508499093636;-0.868012390646928;-0.867515414187903;-0.867017570213536;-0.866518859221670;
-0.866019281711018;-0.865518838181156;-0.865017529132528;-0.864515355066443;-0.864012316485074;-0.863508413891462;-0.863003647789507;-0.862498018683977;-0.861991527080500;
-0.861484173485567;-0.860975958406533;-0.860466882351613;-0.859956945829881;-0.859446149351276;-0.858934493426592;-0.858421978567487;-0.857908605286475;-0.857394374096929;
-0.856879285513080;-0.856363340050017;-0.855846538223686;-0.855328880550888;-0.854810367549280;-0.854290999737376;-0.853770777634543;-0.853249701761004;-0.852727772637834;
-0.852204990786963;-0.851681356731172;-0.851156870994096;-0.850631534100219;-0.850105346574879;-0.849578308944263;-0.849050421735409;-0.848521685476204;-0.847992100695385;
-0.847461667922535;-0.846930387688088;-0.846398260523324;-0.845865286960370;-0.845331467532200;-0.844796802772632;-0.844261293216331;-0.843724939398809;-0.843187741856417;
-0.842649701126353;-0.842110817746659;-0.841571092256217;-0.841030525194753;-0.840489117102833;-0.839946868521867;-0.839403779994102;-0.838859852062627;-0.838315085271370;
-0.837769480165098;-0.837223037289415;-0.836675757190765;-0.836127640416427;-0.835578687514518;-0.835028899033992;-0.834478275524636;-0.833926817537074;-0.833374525622764;
-0.832821400333998;-0.832267442223901;-0.831712651846431;-0.831157029756379;-0.830600576509366;-0.830043292661846;-0.829485178771102;-0.828926235395249;-0.828366463093229;
-0.827805862424816;-0.827244433950608;-0.826682178232036;-0.826119095831355;-0.825555187311646;-0.824990453236819;-0.824424894171608;-0.823858510681570;-0.823291303333092;
-0.822723272693378;-0.822154419330460;-0.821584743813191;-0.821014246711247;-0.820442928595125;-0.819870790036142;-0.819297831606438;-0.818724053878971;-0.818149457427517;
-0.817574042826675;-0.816997810651858;-0.816420761479298;-0.815842895886045;-0.815264214449963;-0.814684717749736;-0.814104406364859;-0.813523280875642;-0.812941341863213;
-0.812358589909510;-0.811775025597285;-0.811190649510102;-0.810605462232336;-0.810019464349176;-0.809432656446619;-0.808845039111473;-0.808256612931356;-0.807667378494693;
-0.807077336390719;-0.806486487209476;-0.805894831541812;-0.805302369979384;-0.804709103114654;-0.804115031540887;-0.803520155852155;-0.802924476643335;-0.802327994510105;
-0.801730710048948;-0.801132623857147;-0.800533736532789;-0.799934048674762;-0.799333560882752;-0.798732273757248;-0.798130187899537;-0.797527303911704;-0.796923622396635;
-0.796319143958008;-0.795713869200305;-0.795107798728799;-0.794500933149559;-0.793893273069453;-0.793284819096141;-0.792675571838075;-0.792065531904504;-0.791454699905466;
-0.790843076451794;-0.790230662155113;-0.789617457627834;-0.789003463483164;-0.788388680335097;-0.787773108798414;-0.787156749488689;-0.786539603022279;-0.785921670016332;
-0.785302951088781;-0.784683446858343;-0.784063157944525;-0.783442084967614;-0.782820228548682;-0.782197589309589;-0.781574167872970;-0.780949964862249;-0.780324980901628;
-0.779699216616091;-0.779072672631403;-0.778445349574107;-0.777817248071526;-0.777188368751762;-0.776558712243694;-0.775928279176978;-0.775297070182048;-0.774665085890113;
-0.774032326933156;-0.773398793943936;-0.772764487555987;-0.772129408403615;-0.771493557121899;-0.770856934346690;-0.770219540714611;-0.769581376863055;-0.768942443430187;
-0.768302741054940;-0.767662270377015;-0.767021032036884;-0.766379026675784;-0.765736254935722;-0.765092717459469;-0.764448414890562;-0.763803347873305;-0.763157517052762;
-0.762510923074766;-0.761863566585911;-0.761215448233553;-0.760566568665809;-0.759916928531561;-0.759266528480447;-0.758615369162869;-0.757963451229984;-0.757310775333711;
-0.756657342126726;-0.756003152262461;-0.755348206395108;-0.754692505179611;-0.754036049271672;-0.753378839327747;-0.752720876005044;-0.752062159961529;-0.751402691855916;
-0.750742472347674;-0.750081502097022;-0.749419781764931;-0.748757312013120;-0.748094093504060;-0.747430126900969;-0.746765412867812;-0.746099952069306;-0.745433745170909;
-0.744766792838829;-0.744099095740019;-0.743430654542175;-0.742761469913739;-0.742091542523894;-0.741420873042568;-0.740749462140432;-0.740077310488894;-0.739404418760108;
-0.738730787626966;-0.738056417763096;-0.737381309842871;-0.736705464541397;-0.736028882534520;-0.735351564498822;-0.734673511111621;-0.733994723050969;-0.733315200995657;
-0.732634945625203;-0.731953957619866;-0.731272237660632;-0.730589786429221;-0.729906604608084;-0.729222692880404;-0.728538051930091;-0.727852682441788;-0.727166585100863;
-0.726479760593413;-0.725792209606263;-0.725103932826964;-0.724414930943793;-0.723725204645750;-0.723034754622564;-0.722343581564684;-0.721651686163281;-0.720959069110253;
-0.720265731098216;-0.719571672820508;-0.718876894971187;-0.718181398245030;-0.717485183337536;-0.716788250944918;-0.716090601764108;-0.715392236492757;-0.714693155829229;
-0.713993360472604;-0.713292851122679;-0.712591628479962;-0.711889693245675;-0.711187046121755;-0.710483687810848;-0.709779619016313;-0.709074840442217;-0.708369352793340;
-0.707663156775169;-0.706956253093901;-0.706248642456438;-0.705540325570392;-0.704831303144079;-0.704121575886522;-0.703411144507447;-0.702700009717286;-0.701988172227175;
-0.701275632748949;-0.700562391995150;-0.699848450679016;-0.699133809514490;-0.698418469216214;-0.697702430499525;-0.696985694080465;-0.696268260675769;-0.695550131002870;
-0.694831305779898;-0.694111785725678;-0.693391571559730;-0.692670664002269;-0.691949063774201;-0.691226771597126;-0.690503788193339;-0.689780114285820;-0.689055750598245;
-0.688330697854976;-0.687604956781067;-0.686878528102259;-0.686151412544979;-0.685423610836344;-0.684695123704156;-0.683965951876901;-0.683236096083751;-0.682505557054562;
-0.681774335519872;-0.681042432210904;-0.680309847859561;-0.679576583198426;-0.678842638960765;-0.678108015880521;-0.677372714692318;-0.676636736131457;-0.675900080933916;
-0.675162749836350;-0.674424743576091;-0.673686062891144;-0.672946708520191;-0.672206681202585;-0.671465981678355;-0.670724610688198;-0.669982568973486;-0.669239857276262;
-0.668496476339236;-0.667752426905789;-0.667007709719971;-0.666262325526499;-0.665516275070757;-0.664769559098795;-0.664022178357329;-0.663274133593741;-0.662525425556074;
-0.661776054993037;-0.661026022654000;-0.660275329288996;-0.659523975648717;-0.658771962484517;-0.658019290548410;-0.657265960593068;-0.656511973371819;-0.655757329638651;
-0.655002030148210;-0.654246075655791;-0.653489466917353;-0.652732204689501;-0.651974289729499;-0.651215722795262;-0.650456504645357;-0.649696636039000;-0.648936117736063;
-0.648174950497061;-0.647413135083163;-0.646650672256183;-0.645887562778586;-0.645123807413479;-0.644359406924619;-0.643594362076405;-0.642828673633884;-0.642062342362742;
-0.641295369029311;-0.640527754400564;-0.639759499244117;-0.638990604328224;-0.638221070421779;-0.637450898294317;-0.636680088716011;-0.635908642457668;-0.635136560290736;
-0.634363842987297;-0.633590491320067;-0.632816506062399;-0.632041887988278;-0.631266637872321;-0.630490756489779;-0.629714244616533;-0.628937103029096;-0.628159332504607;
-0.627380933820838;-0.626601907756188;-0.625822255089682;-0.625041976600973;-0.624261073070340;-0.623479545278685;-0.622697394007538;-0.621914620039048;-0.621131224155990;
-0.620347207141760;-0.619562569780374;-0.618777312856469;-0.617991437155305;-0.617204943462753;-0.616417832565311;-0.615630105250086;-0.614841762304808;-0.614052804517819;
-0.613263232678077;-0.612473047575152;-0.611682249999232;-0.610890840741112;-0.610098820592203;-0.609306190344523;-0.608512950790704;-0.607719102723986;-0.606924646938215;
-0.606129584227848;-0.605333915387946;-0.604537641214180;-0.603740762502824;-0.602943280050754;-0.602145194655455;-0.601346507115012;-0.600547218228112;-0.599747328794044;
-0.598946839612696;-0.598145751484559;-0.597344065210721;-0.596541781592866;-0.595738901433280;-0.594935425534843;-0.594131354701029;-0.593326689735910;-0.592521431444151;
-0.591715580631009;-0.590909138102337;-0.590102104664576;-0.589294481124758;-0.588486268290510;-0.587677466970041;-0.586868077972156;-0.586058102106240;-0.585247540182271;
-0.584436393010812;-0.583624661403007;-0.582812346170590;-0.581999448125876;-0.581185968081761;-0.580371906851728;-0.579557265249835;-0.578742044090726;-0.577926244189621;
-0.577109866362319;-0.576292911425200;-0.575475380195217;-0.574657273489902;-0.573838592127361;-0.573019336926276;-0.572199508705902;-0.571379108286067;-0.570558136487171;
-0.569736594130186;-0.568914482036654;-0.568091801028688;-0.567268551928969;-0.566444735560744;-0.565620352747831;-0.564795404314613;-0.563969891086037;-0.563143813887617;
-0.562317173545431;-0.561489970886117;-0.560662206736880;-0.559833881925482;-0.559004997280249;-0.558175553630066;-0.557345551804375;-0.556514992633179;-0.555683876947037;
-0.554852205577064;-0.554019979354932;-0.553187199112866;-0.552353865683648;-0.551519979900610;-0.550685542597638;-0.549850554609169;-0.549015016770192;-0.548178929916243;
-0.547342294883411;-0.546505112508328;-0.545667383628179;-0.544829109080692;-0.543990289704141;-0.543150926337346;-0.542311019819670;-0.541470570991019;-0.540629580691842;
-0.539788049763130;-0.538945979046412;-0.538103369383761;-0.537260221617785;-0.536416536591632;-0.535572315148988;-0.534727558134073;-0.533882266391644;-0.533036440766993;
-0.532190082105946;-0.531343191254862;-0.530495769060630;-0.529647816370673;-0.528799334032945;-0.527950322895926;-0.527100783808629;-0.526250717620591;-0.525400125181879;
-0.524549007343087;-0.523697364955330;-0.522845198870253;-0.521992509940020;-0.521139299017320;-0.520285566955366;-0.519431314607887;-0.518576542829137;-0.517721252473888;
-0.516865444397429;-0.516009119455568;-0.515152278504632;-0.514294922401460;-0.513437052003409;-0.512578668168347;-0.511719771754661;-0.510860363621246;-0.510000444627509;
-0.509140015633370;-0.508279077499258;-0.507417631086111;-0.506555677255376;-0.505693216869005;-0.504830250789459;-0.503966779879705;-0.503102805003212;-0.502238327023957;
-0.501373346806417;-0.500507865215571;-0.499641883116902;-0.498775401376392;-0.497908420860521;-0.497040942436272;-0.496172966971121;-0.495304495333045;-0.494435528390515;
-0.493566067012497;-0.492696112068454;-0.491825664428339;-0.490954724962601;-0.490083294542180;-0.489211374038504;-0.488338964323495;-0.487466066269562;-0.486592680749604;
-0.485718808637006;-0.484844450805639;-0.483969608129862;-0.483094281484518;-0.482218471744932;-0.481342179786915;-0.480465406486757;-0.479588152721233;-0.478710419367597;
-0.477832207303581;-0.476953517407397;-0.476074350557737;-0.475194707633765;-0.474314589515125;-0.473433997081935;-0.472552931214787;-0.471671392794748;-0.470789382703355;
-0.469906901822619;-0.469023951035020;-0.468140531223509;-0.467256643271506;-0.466372288062898;-0.465487466482041;-0.464602179413757;-0.463716427743332;-0.462830212356518;
-0.461943534139530;-0.461056393979046;-0.460168792762207;-0.459280731376614;-0.458392210710327;-0.457503231651868;-0.456613795090215;-0.455723901914805;-0.454833553015532;
-0.453942749282742;-0.453051491607243;-0.452159780880288;-0.451267617993591;-0.450375003839313;-0.449481939310069;-0.448588425298923;-0.447694462699390;-0.446800052405430;
-0.445905195311456;-0.445009892312323;-0.444114144303335;-0.443217952180241;-0.442321316839230;-0.441424239176940;-0.440526720090447;-0.439628760477271;-0.438730361235372;
-0.437831523263147;-0.436932247459435;-0.436032534723513;-0.435132385955092;-0.434231802054322;-0.433330783921786;-0.432429332458501;-0.431527448565921;-0.430625133145928;
-0.429722387100837;-0.428819211333396;-0.427915606746778;-0.427011574244590;-0.426107114730863;-0.425202229110056;-0.424296918287057;-0.423391183167174;-0.422485024656143;
-0.421578443660123;-0.420671441085694;-0.419764017839859;-0.418856174830042;-0.417947912964084;-0.417039233150249;-0.416130136297214;-0.415220623314078;-0.414310695110354;
-0.413400352595969;-0.412489596681266;-0.411578428277001;-0.410666848294341;-0.409754857644868;-0.408842457240571;-0.407929647993850;-0.407016430817516;-0.406102806624785;
-0.405188776329281;-0.404274340845035;-0.403359501086481;-0.402444257968460;-0.401528612406215;-0.400612565315390;-0.399696117612034;-0.398779270212593;-0.397862024033915;
-0.396944379993247;-0.396026339008231;-0.395107901996910;-0.394189069877720;-0.393269843569492;-0.392350223991454;-0.391430212063224;-0.390509808704815;-0.389589014836630;
-0.388667831379462;-0.387746259254496;-0.386824299383302;-0.385901952687841;-0.384979220090460;-0.384056102513891;-0.383132600881251;-0.382208716116042;-0.381284449142149;
-0.380359800883839;-0.379434772265759;-0.378509364212939;-0.377583577650787;-0.376657413505087;-0.375730872702007;-0.374803956168084;-0.373876664830236;-0.372948999615755;
-0.372020961452305;-0.371092551267925;-0.370163769991025;-0.369234618550385;-0.368305097875158;-0.367375208894863;-0.366444952539390;-0.365514329738996;-0.364583341424301;
-0.363651988526296;-0.362720271976333;-0.361788192706128;-0.360855751647760;-0.359922949733671;-0.358989787896661;-0.358056267069895;-0.357122388186890;-0.356188152181527;
-0.355253559988043;-0.354318612541027;-0.353383310775429;-0.352447655626549;-0.351511648030042;-0.350575288921918;-0.349638579238533;-0.348701519916598;-0.347764111893173;
-0.346826356105664;-0.345888253491829;-0.344949804989768;-0.344011011537931;-0.343071874075112;-0.342132393540447;-0.341192570873417;-0.340252407013845;-0.339311902901894;
-0.338371059478068;-0.337429877683211;-0.336488358458504;-0.335546502745468;-0.334604311485956;-0.333661785622160;-0.332718926096607;-0.331775733852156;-0.330832209831998;
-0.329888354979658;-0.328944170238990;-0.327999656554181;-0.327054814869741;-0.326109646130513;-0.325164151281668;-0.324218331268697;-0.323272187037423;-0.322325719533988;
-0.321378929704860;-0.320431818496831;-0.319484386857008;-0.318536635732826;-0.317588566072035;-0.316640178822704;-0.315691474933221;-0.314742455352288;-0.313793121028927;
-0.312843472912471;-0.311893511952568;-0.310943239099178;-0.309992655302577;-0.309041761513345;-0.308090558682378;-0.307139047760877;-0.306187229700355;-0.305235105452628;
-0.304282675969821;-0.303329942204364;-0.302376905108990;-0.301423565636736;-0.300469924740941;-0.299515983375247;-0.298561742493594;-0.297607203050224;-0.296652365999675;
-0.295697232296784;-0.294741802896687;-0.293786078754811;-0.292830060826881;-0.291873750068915;-0.290917147437222;-0.289960253888407;-0.289003070379361;-0.288045597867269;
-0.287087837309604;-0.286129789664125;-0.285171455888881;-0.284212836942204;-0.283253933782714;-0.282294747369314;-0.281335278661189;-0.280375528617810;-0.279415498198926;
-0.278455188364566;-0.277494600075042;-0.276533734290940;-0.275572591973127;-0.274611174082746;-0.273649481581212;-0.272687515430220;-0.271725276591736;-0.270762766027998;
-0.269799984701516;-0.268836933575072;-0.267873613611716;-0.266910025774770;-0.265946171027820;-0.264982050334720;-0.264017664659594;-0.263053014966823;-0.262088102221061;
-0.261122927387217;-0.260157491430468;-0.259191795316250;-0.258225840010257;-0.257259626478447;-0.256293155687031;-0.255326428602480;-0.254359446191523;-0.253392209421140;
-0.252424719258569;-0.251456976671300;-0.250488982627075;-0.249520738093889;-0.248552244039985;-0.247583501433857;-0.246614511244250;-0.245645274440151;-0.244675791990798;
-0.243706064865674;-0.242736094034505;-0.241765880467263;-0.240795425134159;-0.239824729005651;-0.238853793052434;-0.237882618245444;-0.236911205555855;-0.235939555955081;
-0.234967670414770;-0.233995549906809;-0.233023195403316;-0.232050607876648;-0.231077788299392;-0.230104737644366;-0.229131456884622;-0.228157946993441;-0.227184208944331;
MATLAB Command History Page 117
May 7, 2019 3:46:17 PM
-0.226210243711031;-0.225236052267506;-0.224261635587948;-0.223286994646773;-0.222312130418622;-0.221337043878359;-0.220361736001071;-0.219386207762064;-0.218410460136869;
-0.217434494101232;-0.216458310631118;-0.215481910702712;-0.214505295292413;-0.213528465376837;-0.212551421932813;-0.211574165937385;-0.210596698367809;-0.209619020201552;
-0.208641132416292;-0.207663035989917;-0.206684731900523;-0.205706221126415;-0.204727504646103;-0.203748583438303;-0.202769458481937;-0.201790130756129;-0.200810601240207;
-0.199830870913701;-0.198850940756340;-0.197870811748055;-0.196890484868975;-0.195909961099427;-0.194929241419934;-0.193948326811215;-0.192967218254186;-0.191985916729955;
-0.191004423219823;-0.190022738705283;-0.189040864168021;-0.188058800589911;-0.187076548953016;-0.186094110239586;-0.185111485432062;-0.184128675513069;-0.183145681465415;
-0.182162504272095;-0.181179144916287;-0.180195604381347;-0.179211883650820;-0.178227983708422;-0.177243905538056;-0.176259650123800;-0.175275218449908;-0.174290611500812;
-0.173305830261119;-0.172320875715610;-0.171335748849241;-0.170350450647136;-0.169364982094595;-0.168379344177086;-0.167393537880247;-0.166407564189883;-0.165421424091970;
-0.164435118572646;-0.163448648618218;-0.162462015215154;-0.161475219350089;-0.160488262009818;-0.159501144181298;-0.158513866851647;-0.157526431008143;-0.156538837638220;
-0.155551087729474;-0.154563182269652;-0.153575122246661;-0.152586908648561;-0.151598542463564;-0.150610024680038;-0.149621356286500;-0.148632538271618;-0.147643571624210;
-0.146654457333243;-0.145665196387830;-0.144675789777234;-0.143686238490859;-0.142696543518258;-0.141706705849126;-0.140716726473299;-0.139726606380758;-0.138736346561622;
-0.137745948006150;-0.136755411704743;-0.135764738647935;-0.134773929826400;-0.133782986230946;-0.132791908852517;-0.131800698682191;-0.130809356711176;-0.129817883930815;
-0.128826281332582;-0.127834549908078;-0.126842690649036;-0.125850704547312;-0.124858592594894;-0.123866355783895;-0.122873995106550;-0.121881511555220;-0.120888906122389;
-0.119896179800662;-0.118903333582765;-0.117910368461544;-0.116917285429964;-0.115924085481110;-0.114930769608178;-0.113937338804487;-0.112943794063467;-0.111950136378662;
-0.110956366743731;-0.109962486152441;-0.108968495598674;-0.107974396076422;-0.106980188579781;-0.105985874102961;-0.104991453640277;-0.103996928186147;-0.103002298735098;
-0.102007566281758;-0.101012731820860;-0.100017796347240;-0.0990227608558311;-0.0980276263416694;-0.0970323937998904;-0.0960370642257249;-0.0950416386145040;-0.0940461179616515;
-0.0930505032626889;-0.0920547955132317;-0.0910589957089857;-0.0900631048457517;-0.0890671239194211;-0.0880710539259732;-0.0870748958614796;-0.0860786507220965;-0.0850823195040698;
-0.0840859032037317;-0.0830894028174964;-0.0820928193418652;-0.0810961537734225;-0.0800994071088318;-0.0791025803448416;-0.0781056744782767;-0.0771086905060439;-0.0761116294251279;
-0.0751144922325879;-0.0741172799255619;-0.0731199935012631;-0.0721226339569760;-0.0711252022900618;-0.0701276994979504;-0.0691301265781453;-0.0681324845282203;-0.0671347743458155;
-0.0661369970286420;-0.0651391535744779;-0.0641412449811647;-0.0631432722466128;-0.0621452363687930;-0.0611471383457420;-0.0601489791755587;-0.0591507598564003;-0.0581524813864870;
-0.0571541447640980;-0.0561557509875681;-0.0551573010552928;-0.0541587959657202;-0.0531602367173561;-0.0521616243087606;-0.0511629597385443;-0.0501642440053725;-0.0491654781079618;
-0.0481666630450761;-0.0471677998155323;-0.0461688894181918;-0.0451699328519657;-0.0441709311158113;-0.0431718852087287;-0.0421727961297644;-0.0411736648780084;-0.0401744924525901;
-0.0391752798526836;-0.0381760280774996;-0.0371767381262906;-0.0361774109983476;-0.0351780476929957;-0.0341786492095990;-0.0331792165475568;-0.0321797507063000;-0.0311802526852960;
-0.0301807234840411;-0.0291811641020652;-0.0281815755389285;-0.0271819587942177;-0.0261823148675504;-0.0251826447585713;-0.0241829494669487;-0.0231832299923795;-0.0221834873345813;
-0.0211837224932976;-0.0201839364682942;-0.0191841302593550;-0.0181843048662872;-0.0171844612889169;-0.0161846005270859;-0.0151847235806566;-0.0141848314495040;-0.0131849251335213;
-0.0121850056326153;-0.0111850739467039;-0.0101851310757203;-0.00918517801960563;-0.00818521577831369;-0.00718524535180755;-0.00618526774005576;-0.00518528394303676;-0.00418529496073512;
-0.00318530179313799;-0.00218530544024022;-0.00118530690203630;-0.000185307178525578;0.000814692730291418;0.00181469182441664;0.00281468910385019;0.00381468356859398;0.00481467421865541;
0.00581466005404213;0.00681464007477018;0.00781461328085871;0.00881457867233373;0.00981453524923170;0.0108144820115952;0.0118144179594768;0.0128143420929422;0.0138142534120658;
0.0148141509169379;0.0158140336076604;0.0168139004843497;0.0178137505471408;0.0188135827961829;0.0198133962316428;0.0208131898537090;0.0218129626625863;0.0228127136585035;
0.0238124418417091;0.0248121462124738;0.0258118257710953;0.0268114795178932;0.0278111064532130;0.0288107055774294;0.0298102758909419;0.0308098163941817;0.0318093260876078;
0.0328088039717095;0.0338082490470109;0.0348076603140661;0.0358070367734630;0.0368063774258269;0.0378056812718156;0.0388049473121271;0.0398041745474945;0.0408033619786898;
0.0418025086065274;0.0428016134318598;0.0438006754555816;0.0447996936786324;0.0457986671019923;0.0467975947266899;0.0477964755537966;0.0487953085844309;0.0497940928197616;
0.0507928272610035;0.0517915109094216;0.0527901427663340;0.0537887218331071;0.0547872471111637;0.0557857176019778;0.0567841323070781;0.0577824902280516;0.0587807903665398;
0.0597790317242416;0.0607772133029175;0.0617753341043843;0.0627733931305231;0.0637713893832739;0.0647693218646398;0.0657671895766901;0.0667649915215564;0.0677627267014357;
0.0687603941185949;0.0697579927753649;0.0707555216741487;0.0717529798174168;0.0727503662077101;0.0737476798476442;0.0747449197399046;0.0757420848872506;0.0767391742925189;
0.0777361869586184;0.0787331218885384;0.0797299780853430;0.0807267545521752;0.0817234502922606;0.0827200643089024;0.0837165956054860;0.0847130431854818;0.0857094060524406;
0.0867056832100013;0.0877018736618861;0.0886979764119037;0.0896939904639531;0.0906899148220195;0.0916857484901778;0.0926814904725961;0.0936771397735308;0.0946726953973343;
0.0956681563484504;0.0966635216314172;0.0976587902508714;0.0986539612115434;0.0996490335182615;0.100644006175955;0.101638878189650;0.102633648564477;0.103628316305663;0.104622880418541;
0.105617339908548;0.106611693781224;0.107605941042214;0.108600080697272;0.109594111752259;0.110588033213143;0.111581844086004;0.112575543377029;0.113569130092521;0.114562603238892;
0.115555961822668;0.116549204850494;0.117542331329123;0.118535340265432;0.119528230666410;0.120521001539166;0.121513651890932;0.122506180729056;0.123498587061010;0.124490869894386;
0.125483028236903;0.126475061096403;0.127466967480852;0.128458746398343;0.129450396857100;0.130441917865469;0.131433308431933;0.132424567565099;0.133415694273707;0.134406687566634;
0.135397546452884;0.136388269941598;0.137378857042054;0.138369306763664;0.139359618115979;0.140349790108688;0.141339821751617;0.142329712054738;0.143319460028158;0.144309064682130;
0.145298525027049;0.146287840073455;0.147277008832034;0.148266030313616;0.149254903529179;0.150243627489852;0.151232201206911;0.152220623691779;0.153208893956038;0.154197011011414;
0.155184973869794;0.156172781543212;0.157160433043861;0.158147927384091;0.159135263576406;0.160122440633471;0.161109457568109;0.162096313393302;0.163083007122196;0.164069537768096;
0.165055904344471;0.166042105864957;0.167028141343351;0.168014009793616;0.168999710229887;0.169985241666460;0.170970603117807;0.171955793598565;0.172940812123543;0.173925657707724;
0.174910329366262;0.175894826114484;0.176879146967896;0.177863290942174;0.178847257053177;0.179831044316938;0.180814651749669;0.181798078367764;0.182781323187796;0.183764385226519;
0.184747263500873;0.185729957027978;0.186712464825142;0.187694785909857;0.188676919299801;0.189658864012842;0.190640619067035;0.191622183480624;0.192603556272046;0.193584736459928;
0.194565723063089;0.195546515100544;0.196527111591499;0.197507511555360;0.198487714011726;0.199467717980394;0.200447522481360;0.201427126534821;0.202406529161172;0.203385729381011;
0.204364726215137;0.205343518684555;0.206322105810471;0.207300486614297;0.208278660117655;0.209256625342369;0.210234381310477;0.211211927044220;0.212189261566053;0.213166383898644;
0.214143293064868;0.215119988087816;0.216096467990794;0.217072731797322;0.218048778531137;0.219024607216192;0.220000216876656;0.220975606536924;0.221950775221603;0.222925721955524;
0.223900445763743;0.224874945671534;0.225849220704399;0.226823269888062;0.227797092248473;0.228770686811811;0.229744052604482;0.230717188653119;0.231690093984587;0.232662767625980;
0.233635208604625;0.234607415948081;0.235579388684140;0.236551125840830;0.237522626446415;0.238493889529392;0.239464914118500;0.240435699242713;0.241406243931248;0.242376547213559;
0.243346608119342;0.244316425678538;0.245285998921328;0.246255326878140;0.247224408579646;0.248193243056763;0.249161829340659;0.250130166462746;0.251098253454686;0.252066089348395;
0.253033673176035;0.254001003970023;0.254968080763029;0.255934902587974;0.256901468478039;0.257867777466657;0.258833828587518;0.259799620874572;0.260765153362027;0.261730425084351;
0.262695435076272;0.263660182372778;0.264624666009125;0.265588885020829;0.266552838443668;0.267516525313692;0.268479944667212;0.269443095540811;0.270405976971336;0.271368587995907;
0.272330927651912;0.273292994977013;0.274254789009141;0.275216308786504;0.276177553347579;0.277138521731126;0.278099212976173;0.279059626122030;0.280019760208285;0.280979614274803;
0.281939187361730;0.282898478509493;0.283857486758801;0.284816211150646;0.285774650726304;0.286732804527334;0.287690671595584;0.288648250973187;0.289605541702562;0.290562542826420;
0.291519253387759;0.292475672429870;0.293431798996332;0.294387632131019;0.295343170878100;0.296298414282034;0.297253361387577;0.298208011239785;0.299162362884006;0.300116415365889;
0.301070167731383;0.302023619026732;0.302976768298489;0.303929614593503;0.304882156958926;0.305834394442219;0.306786326091142;0.307737950953765;0.308689268078463;0.309640276513918;
0.310590975309123;0.311541363513379;0.312491440176296;0.313441204347800;0.314390655078124;0.315339791417821;0.316288612417753;0.317237117129097;0.318185304603352;0.319133173892329;
0.320080724048158;0.321027954123290;0.321974863170494;0.322921450242862;0.323867714393807;0.324813654677064;0.325759270146694;0.326704559857081;0.327649522862935;0.328594158219293;
0.329538464981520;0.330482442205311;0.331426088946687;0.332369404262000;0.333312387207938;0.334255036841517;0.335197352220085;0.336139332401331;0.337080976443271;0.338022283404263;
0.338963252343000;0.339903882318513;0.340844172390172;0.341784121617687;0.342723729061108;0.343662993780830;0.344601914837585;0.345540491292456;0.346478722206863;0.347416606642577;
0.348354143661714;0.349291332326736;0.350228171700454;0.351164660846030;0.352100798826974;0.353036584707149;0.353972017550769;0.354907096422401;0.355841820386966;0.356776188509740;
0.357710199856355;0.358643853492800;0.359577148485422;0.360510083900925;0.361442658806375;0.362374872269195;0.363306723357173;0.364238211138459;0.365169334681563;0.366100093055364;
0.367030485329101;0.367960510572385;0.368890167855188;0.369819456247854;0.370748374821095;0.371676922645991;0.372605098793996;0.373532902336934;0.374460332346999;0.375387387896765;
0.376314068059173;0.377240371907544;0.378166298515576;0.379091846957340;0.380017016307289;0.380941805640253;0.381866214031443;0.382790240556451;0.383713884291251;0.384637144312198;
0.385560019696033;0.386482509519879;0.387404612861250;0.388326328798039;0.389247656408532;0.390168594771401;0.391089142965708;0.392009300070904;0.392929065166833;0.393848437333729;
0.394767415652221;0.395685999203331;0.396604187068473;0.397521978329463;0.398439372068507;0.399356367368211;0.400272963311582;0.401189158982023;0.402104953463338;0.403020345839734;
0.403935335195816;0.404849920616598;0.405764101187493;0.406677875994320;0.407591244123306;0.408504204661080;0.409416756694685;0.410328899311567;0.411240631599583;0.412151952647003;
0.413062861542505;0.413973357375178;0.414883439234529;0.415793106210475;0.416702357393351;0.417611191873903;0.418519608743298;0.419427607093119;0.420335186015369;0.421242344602466;
0.422149081947255;0.423055397142997;0.423961289283377;0.424866757462503;0.425771800774907;0.426676418315546;0.427580609179802;0.428484372463484;0.429387707262830;0.430290612674504;
0.431193087795601;0.432095131723647;0.432996743556596;0.433897922392839;0.434798667331195;0.435698977470920;0.436598851911704;0.437498289753672;0.438397290097387;0.439295852043849;
0.440193974694494;0.441091657151202;0.441988898516290;0.442885697892516;0.443782054383081;0.444677967091628;0.445573435122246;0.446468457579465;0.447363033568264;0.448257162194067;
0.449150842562745;0.450044073780618;0.450936854954454;0.451829185191473;0.452721063599345;0.453612489286191;0.454503461360585;0.455393978931556;0.456284041108586;0.457173647001612;
0.458062795721031;0.458951486377690;0.459839718082903;0.460727489948435;0.461614801086516;0.462501650609834;0.463388037631541;0.464273961265247;0.465159420625032;0.466044414825434;
0.466928942981461;0.467813004208584;0.468696597622741;0.469579722340340;0.470462377478256;0.471344562153833;0.472226275484888;0.473107516589706;0.473988284587047;0.474868578596144;
0.475748397736700;0.476627741128900;0.477506607893397;0.478384997151326;0.479262908024299;0.480140339634402;0.481017291104207;0.481893761556761;0.482769750115593;0.483645255904715;
0.484520278048621;0.485394815672290;0.486268867901184;0.487142433861250;0.488015512678923;0.488888103481125;0.489760205395263;0.490631817549237;0.491502939071433;0.492373569090732;
0.493243706736503;0.494113351138608;0.494982501427404;0.495851156733739;0.496719316188958;0.497586978924904;0.498454144073910;0.499320810768816;0.500186978142952;0.501052645330150;
0.501917811464746;0.502782475681573;0.503646637115965;0.504510294903762;0.505373448181306;0.506236096085444;0.507098237753529;0.507959872323417;0.508820998933476;0.509681616722579;
0.510541724830106;0.511401322395952;0.512260408560518;0.513118982464718;0.513977043249979;0.514834590058238;0.515691622031952;0.516548138314086;0.517404138048124;0.518259620378067;
0.519114584448433;0.519969029404259;0.520822954391098;0.521676358555026;0.522529241042639;0.523381601001055;0.524233437577913;0.525084749921377;0.525935537180135;0.526785798503400;
0.527635533040910;0.528484739942931;0.529333418360256;0.530181567444207;0.531029186346635;0.531876274219921;0.532722830216976;0.533568853491246;0.534414343196707;0.535259298487869;
0.536103718519777;0.536947602448012;0.537790949428688;0.538633758618460;0.539476029174518;0.540317760254593;0.541158951016952;0.541999600620404;0.542839708224302;0.543679272988537;
0.544518294073544;0.545356770640302;0.546194701850335;0.547032086865712;0.547868924849047;0.548705214963503;0.549540956372790;0.550376148241167;0.551210789733440;0.552044880014971;
0.552878418251666;0.553711403609991;0.554543835256958;0.555375712360135;0.556207034087646;0.557037799608170;0.557868008090940;0.558697658705749;0.559526750622946;0.560355283013439;
0.561183255048695;0.562010665900743;0.562837514742172;0.563663800746134;0.564489523086341;0.565314680937073;0.566139273473170;0.566963299870041;0.567786759303660;0.568609650950567;
0.569431973987870;0.570253727593247;0.571074910944943;0.571895523221776;0.572715563603133;0.573535031268975;0.574353925399834;0.575172245176814;0.575989989781598;0.576807158396440;
0.577623750204171;0.578439764388200;0.579255200132513;0.580070056621674;0.580884333040828;0.581698028575695;0.582511142412584;0.583323673738379;0.584135621740547;0.584946985607144;
0.585757764526803;0.586567957688746;0.587377564282781;0.588186583499300;0.588995014529286;0.589802856564305;0.590610108796517;0.591416770418670;0.592222840624101;0.593028318606741;
0.593833203561112;0.594637494682329;0.595441191166101;0.596244292208730;0.597046797007118;0.597848704758759;0.598650014661744;0.599450725914765;0.600250837717110;0.601050349268666;
0.601849259769925;0.602647568421972;0.603445274426503;0.604242376985809;0.605038875302788;0.605834768580942;0.606630056024379;0.607424736837809;0.608218810226554;0.609012275396539;
0.609805131554299;0.610597377906979;0.611389013662331;0.612180038028722;0.612970450215125;0.613760249431128;0.614549434886934;0.615338005793355;0.616125961361823;0.616913300804380;
0.617700023333688;0.618486128163024;0.619271614506284;0.620056481577980;0.620840728593247;0.621624354767836;0.622407359318123;0.623189741461102;0.623971500414392;0.624752635396234;
0.625533145625492;0.626313030321656;0.627092288704843;0.627870919995792;0.628648923415875;0.629426298187086;0.630203043532051;0.630979158674026;0.631754642836895;0.632529495245173;
0.633303715124009;0.634077301699181;0.634850254197106;0.635622571844830;0.636394253870034;0.637165299501037;0.637935707966795;0.638705478496897;0.639474610321574;0.640243102671693;
0.641010954778764;0.641778165874934;0.642544735192990;0.643310661966366;0.644075945429133;0.644840584816008;0.645604579362352;0.646367928304170;0.647130630878114;0.647892686321482;
0.648654093872216;0.649414852768911;0.650174962250808;0.650934421557796;0.651693229930417;0.652451386609862;0.653208890837975;0.653965741857252;0.654721938910841;0.655477481242546;
0.656232368096825;0.656986598718789;0.657740172354210;0.658493088249513;0.659245345651784;0.659996943808763;0.660747881968853;0.661498159381117;0.662247775295277;0.662996728961716;
0.663745019631481;0.664492646556282;0.665239608988492;0.665985906181149;0.666731537387954;0.667476501863279;0.668220798862157;0.668964427640291;0.669707387454054;0.670449677560484;
0.671191297217294;0.671932245682862;0.672672522216240;0.673412126077153;0.674151056525995;0.674889312823837;0.675626894232422;0.676363800014169;0.677100029432173;0.677835581750204;
0.678570456232709;0.679304652144815;0.680038168752325;0.680771005321723;0.681503161120173;0.682234635415518;0.682965427476285;0.683695536571681;0.684424961971597;0.685153702946609;
0.685881758767975;0.686609128707639;0.687335812038231;0.688061808033069;0.688787115966156;0.689511735112185;0.690235664746536;0.690958904145280;0.691681452585176;0.692403309343679;
0.693124473698930;0.693844944929764;0.694564722315711;0.695283805136995;0.696002192674530;0.696719884209932;0.697436879025506;0.698153176404261;0.698868775629897;0.699583675986815;
0.700297876760116;0.701011377235599;0.701724176699762;0.702436274439808;0.703147669743637;0.703858361899855;0.704568350197771;0.705277633927394;0.705986212379443;0.706694084845338;
0.707401250617206;0.708107708987884;0.708813459250911;0.709518500700538;0.710222832631724;0.710926454340136;0.711629365122153;0.712331564274864;0.713033051096070;0.713733824884285;
0.714433884938734;0.715133230559358;0.715831861046811;0.716529775702462;0.717226973828398;0.717923454727419;0.718619217703045;0.719314262059514;0.720008587101781;0.720702192135520;
0.721395076467128;0.722087239403718;0.722778680253130;0.723469398323922;0.724159392925376;0.724848663367497;0.725537208961015;0.726225029017385;0.726912122848786;0.727598489768125;
0.728284129089035;0.728969040125877;0.729653222193738;0.730336674608439;0.731019396686526;0.731701387745277;0.732382647102701;0.733063174077539;0.733742967989265;0.734422028158083;
0.735100353904935;0.735777944551494;0.736454799420169;0.737130917834107;0.737806299117188;0.738480942594031;0.739154847589994;0.739828013431170;0.740500439444395;0.741172124957242;
0.741843069298025;0.742513271795802;0.743182731780368;0.743851448582265;0.744519421532775;0.745186649963925;0.745853133208488;0.746518870599979;0.747183861472662;0.747848105161546;
0.748511601002387;0.749174348331689;0.749836346486706;0.750497594805439;0.751158092626639;0.751817839289809;0.752476834135203;0.753135076503825;0.753792565737434;0.754449301178539;
0.755105282170406;0.755760508057054;0.756414978183257;0.757068691894545;0.757721648537203;0.758373847458277;0.759025288005567;0.759675969527631;0.760325891373789;0.760975052894120;
0.761623453439460;0.762271092361411;0.762917969012333;0.763564082745350;0.764209432914347;0.764854018873975;0.765497839979649;0.766140895587546;0.766783185054610;0.767424707738555;
0.768065462997854;0.768705450191756;0.769344668680271;0.769983117824181;0.770620796985038;0.771257705525163;0.771893842807645;0.772529208196350;0.773163801055910;0.773797620751734;
0.774430666650002;0.775062938117667;0.775694434522459;0.776325155232881;0.776955099618213;0.777584267048510;0.778212656894604;0.778840268528106;0.779467101321405;0.780093154647667;
0.780718427880840;0.781342920395650;0.781966631567605;0.782589560772993;0.783211707388886;0.783833070793137;0.784453650364382;0.785073445482042;0.785692455526322;0.786310679878212;
0.786928117919487;0.787544769032711;0.788160632601231;0.788775708009184;0.789389994641495;0.790003491883876;0.790616199122832;0.791228115745654;0.791839241140427;0.792449574696025;
0.793059115802114;0.793667863849153;0.794275818228395;0.794882978331884;0.795489343552462;0.796094913283761;0.796699686920215;0.797303663857048;0.797906843490283;0.798509225216741;
0.799110808434041;0.799711592540598;0.800311576935630;0.800910761019152;0.801509144191979;0.802106725855729;0.802703505412820;0.803299482266472;0.803894655820709;0.804489025480357;
0.805082590651047;0.805675350739213;0.806267305152096;0.806858453297741;0.807448794584999;0.808038328423531;0.808627054223801;0.809214971397084;0.809802079355464;0.810388377511831;
0.810973865279889;0.811558542074149;0.812142407309934;0.812725460403380;0.813307700771433;0.813889127831853;0.814469741003213;0.815049539704900;0.815628523357115;0.816206691380875;
0.816784043198012;0.817360578231173;0.817936295903824;0.818511195640247;0.819085276865544;0.819658539005631;0.820230981487248;0.820802603737951;0.821373405186119;0.821943385260951;
MATLAB Command History Page 118
May 7, 2019 3:46:17 PM
0.822512543392466;0.823080879011506;0.823648391549735;0.824215080439641;0.824780945114536;0.825345985008555;0.825910199556657;0.826473588194629;0.827036150359081;0.827597885487451;
0.828158793018005;0.828718872389835;0.829278123042862;0.829836544417835;0.830394135956333;0.830950897100764;0.831506827294367;0.832061925981212;0.832616192606200;0.833169626615065;
0.833722227454373;0.834273994571524;0.834824927414748;0.835375025433115;0.835924288076527;0.836472714795719;0.837020305042267;0.837567058268580;0.838112973927904;0.838658051474324;
0.839202290362762;0.839745690048980;0.840288249989578;0.840829969641996;0.841370848464514;0.841910885916254;0.842450081457178;0.842988434548091;0.843525944650640;0.844062611227314;
0.844598433741448;0.845133411657217;0.845667544439646;0.846200831554601;0.846733272468795;0.847264866649787;0.847795613565982;0.848325512686636;0.848854563481846;0.849382765422565;
0.849910117980588;0.850436620628564;0.850962272839991;0.851487074089216;0.852011023851438;0.852534121602706;0.853056366819924;0.853577758980847;0.854098297564082;0.854617982049090;
0.855136811916187;0.855654786646544;0.856171905722185;0.856688168625992;0.857203574841702;0.857718123853908;0.858231815148063;0.858744648210473;0.859256622528306;0.859767737589589;
0.860277992883206;0.860787387898902;0.861295922127281;0.861803595059810;0.862310406188816;0.862816355007488;0.863321441009876;0.863825663690896;0.864329022546323;0.864831517072800;
0.865333146767832;0.865833911129790;0.866333809657909;0.866832841852289;0.867331007213901;0.867828305244578;0.868324735447021;0.868820297324802;0.869314990382357;0.869808814124995;
0.870301768058891;0.870793851691091;0.871285064529513;0.871775406082942;0.872264875861038;0.872753473374331;0.873241198134223;0.873728049652990;0.874214027443780;0.874699131020615;
0.875183359898392;0.875666713592883;0.876149191620732;0.876630793499463;0.877111518747474;0.877591366884039;0.878070337429310;0.878548429904317;0.879025643830967;0.879501978732047;
0.879977434131221;0.880452009553034;0.880925704522911;0.881398518567158;0.881870451212959;0.882341501988382;0.882811670422377;0.883280956044775;0.883749358386290;0.884216876978521;
0.884683511353948;0.885149261045938;0.885614125588741;0.886078104517492;0.886541197368212;0.887003403677809;0.887464722984075;0.887925154825693;0.888384698742230;0.888843354274142;
0.889301120962775;0.889757998350360;0.890213985980021;0.890669083395770;0.891123290142510;0.891576605766034;0.892029029813027;0.892480561831064;0.892931201368614;0.893380947975037;
0.893829801200586;0.894277760596409;0.894724825714545;0.895170996107931;0.895616271330394;0.896060650936661;0.896504134482352;0.896946721523983;0.897388411618968;0.897829204325615;
0.898269099203133;0.898708095811627;0.899146193712099;0.899583392466454;0.900019691637490;0.900455090788910;0.900889589485314;0.901323187292204;0.901755883775981;0.902187678503950;
0.902618571044315;0.903048560966185;0.903477647839569;0.903905831235380;0.904333110725436;0.904759485882456;0.905184956280065;0.905609521492794;0.906033181096077;0.906455934666254;
0.906877781780572;0.907298722017184;0.907718754955150;0.908137880174436;0.908556097255917;0.908973405781378;0.909389805333507;0.909805295495908;0.910219875853089;0.910633545990470;
0.911046305494380;0.911458153952061;0.911869090951665;0.912279116082253;0.912688228933801;0.913096429097196;0.913503716164239;0.913910089727641;0.914315549381029;0.914720094718945;
0.915123725336842;0.915526440831090;0.915928240798973;0.916329124838692;0.916729092549362;0.917128143531016;0.917526277384604;0.917923493711990;0.918319792115959;0.918715172200212;
0.919109633569370;0.919503175828971;0.919895798585472;0.920287501446252;0.920678284019607;0.921068145914754;0.921457086741833;0.921845106111901;0.922232203636940;0.922618378929853;
0.923003631604463;0.923387961275519;0.923771367558690;0.924153850070571;0.924535408428679;0.924916042251455;0.925295751158266;0.925674534769403;0.926052392706083;0.926429324590447;
0.926805330045563;0.927180408695427;0.927554560164959;0.927927784080009;0.928300080067351;0.928671447754692;0.929041886770661;0.929411396744821;0.929779977307663;0.930147628090603;
0.930514348725994;0.930880138847114;0.931244998088172;0.931608926084309;0.931971922471599;0.932333986887043;0.932695118968578;0.933055318355072;0.933414584686325;0.933772917603072;
0.934130316746978;0.934486781760646;0.934842312287610;0.935196907972339;0.935550568460239;0.935903293397648;0.936255082431841;0.936605935211031;0.936955851384362;0.937304830601921;
0.937652872514727;0.937999976774739;0.938346143034852;0.938691370948900;0.939035660171656;0.939379010358830;0.939721421167071;0.940062892253970;0.940403423278055;0.940743013898795;
0.941081663776599;0.941419372572818;0.941756139949743;0.942091965570607;0.942426849099583;0.942760790201789;0.943093788543283;0.943425843791067;0.943756955613087;0.944087123678229;
0.944416347656326;0.944744627218154;0.945071962035434;0.945398351780830;0.945723796127954;0.946048294751360;0.946371847326550;0.946694453529971;0.947016113039018;0.947336825532032;
0.947656590688298;0.947975408188053;0.948293277712478;0.948610198943705;0.948926171564812;0.949241195259826;0.949555269713724;0.949868394612432;0.950180569642824;0.950491794492726;
0.950802068850912;0.951111392407109;0.951419764851993;0.951727185877191;0.952033655175282;0.952339172439798;0.952643737365221;0.952947349646985;0.953250008981480;0.953551715066044;
0.953852467598974;0.954152266279515;0.954451110807869;0.954749000885193;0.955045936213594;0.955341916496139;0.955636941436848;0.955931010740694;0.956224124113610;0.956516281262480;
0.956807481895150;0.957097725720417;0.957387012448038;0.957675341788727;0.957962713454154;0.958249127156947;0.958534582610693;0.958819079529935;0.959102617630179;0.959385196627885;
0.959666816240473;0.959947476186326;0.960227176184783;0.960505915956143;0.960783695221668;0.961060513703577;0.961336371125052;0.961611267210237;0.961885201684235;0.962158174273111;
0.962430184703893;0.962701232704570;0.962971318004095;0.963240440332382;0.963508599420309;0.963775794999718;0.964042026803411;0.964307294565158;0.964571598019690;0.964834936902705;
0.965097310950864;0.965358719901792;0.965619163494081;0.965878641467286;0.966137153561931;0.966394699519502;0.966651279082454;0.966906891994209;0.967161537999151;0.967415216842636;
0.967667928270985;0.967919672031487;0.968170447872396;0.968420255542939;0.968669094793307;0.968916965374661;0.969163867039130;0.969409799539813;0.969654762630777;0.969898756067060;
0.970141779604667;0.970383833000575;0.970624916012731;0.970865028400052;0.971104169922426;0.971342340340710;0.971579539416736;0.971815766913302;0.972051022594183;0.972285306224122;
0.972518617568836;0.972750956395014;0.972982322470316;0.973212715563377;0.973442135443803;0.973670581882175;0.973898054650046;0.974124553519944;0.974350078265369;0.974574628660798;
0.974798204481679;0.975020805504436;0.975242431506470;0.975463082266153;0.975682757562835;0.975901457176841;0.976119180889471;0.976335928483002;0.976551699740685;0.976766494446750;
0.976980312386402;0.977193153345823;0.977405017112172;0.977615903473586;0.977825812219177;0.978034743139038;0.978242696024237;0.978449670666821;0.978655666859817;0.978860684397227;
0.979064723074034;0.979267782686200;0.979469863030665;0.979670963905348;0.979871085109149;0.980070226441947;0.980268387704600;0.980465568698946;0.980661769227806;0.980856989094979;
0.981051228105244;0.981244486064362;0.981436762779077;0.981628058057110;0.981818371707167;0.982007703538934;0.982196053363080;0.982383420991254;0.982569806236088;0.982755208911199;
0.982939628831182;0.983123065811619;0.983305519669072;0.983486990221087;0.983667477286193;0.983846980683905;0.984025500234717;0.984203035760112;0.984379587082552;0.984555154025488;
0.984729736413352;0.984903334071561;0.985075946826518;0.985247574505611;0.985418216937211;0.985587873950676;0.985756545376350;0.985924231045560;0.986090930790622;0.986256644444834;
0.986421371842485;0.986585112818846;0.986747867210176;0.986909634853721;0.987070415587714;0.987230209251374;0.987389015684906;0.987546834729505;0.987703666227352;0.987859510021614;
0.988014365956449;0.988168233877000;0.988321113629400;0.988473005060769;0.988623908019215;0.988773822353835;0.988922747914715;0.989070684552930;0.989217632120542;0.989363590470605;
0.989508559457160;0.989652538935238;0.989795528760860;0.989937528791035;0.990078538883764;0.990218558898036;0.990357588693832;0.990495628132122;0.990632677074867;0.990768735385016;
0.990903802926513;0.991037879564290;0.991170965164270;0.991303059593367;0.991434162719487;0.991564274411527;0.991693394539375;0.991821522973911;0.991948659587008;0.992074804251527;
0.992199956841324;0.992324117231248;0.992447285297136;0.992569460915823;0.992690643965131;0.992810834323877;0.992930031871873;0.993048236489919;0.993165448059811;0.993281666464338;
0.993396891587281;0.993511123313416;0.993624361528510;0.993736606119325;0.993847856973617;0.993958113980135;0.994067377028622;0.994175646009814;0.994282920815444;0.994389201338235;
0.994494487471908;0.994598779111176;0.994702076151748;0.994804378490327;0.994905686024610;0.995005998653290;0.995105316276055;0.995203638793586;0.995300966107561;0.995397298120653;
0.995492634736530;0.995586975859855;0.995680321396287;0.995772671252481;0.995864025336086;0.995954383555749;0.996043745821112;0.996132112042812;0.996219482132482;0.996305856002754;
0.996391233567253;0.996475614740601;0.996558999438417;0.996641387577317;0.996722779074913;0.996803173849812;0.996882571821621;0.996960972910940;0.997038377039371;0.997114784129507;
0.997190194104942;0.997264606890266;0.997338022411066;0.997410440593927;0.997481861366431;0.997552284657156;0.997621710395680;0.997690138512576;0.997757568939417;0.997824001608773;
0.997889436454210;0.997953873410293;0.998017312412587;0.998079753397651;0.998141196303045;0.998201641067325;0.998261087630048;0.998319535931767;0.998376985914032;0.998433437519395;
0.998488890691404;0.998543345374605;0.998596801514544;0.998649259057765;0.998700717951810;0.998751178145220;0.998800639587535;0.998849102229294;0.998896566022034;0.998943030918291;
0.998988496871600;0.999032963836496;0.999076431768511;0.999118900624178;0.999160370361027;0.999200840937589;0.999240312313394;0.999278784448970;0.999316257305844;0.999352730846544;
0.999388205034597;0.999422679834528;0.999456155211862;0.999488631133125;0.999520107565840;0.999550584478530;0.999580061840719;0.999608539622930;0.999636017796684;0.999662496334504;
0.999687975209911;0.999712454397426;0.999735933872570;0.999758413611863;0.999779893592826;0.999800373793979;0.999819854194841;0.999838334775932;0.999855815518772;0.999872296405880;
0.999887777420775;0.999902258547975;0.999915739773001;0.999928221082369;0.999939702463600;0.999950183905212;0.999959665396724;0.999968146928653;0.999975628492519;0.999982110080840;
0.999987591687133;0.999992073305919;0.999995554932714;0.999998036564038;0.999999518197409;0.999999999831345;0.999999481465364;0.999997963099985;0.999995444736726;0.999991926378106;
0.999987408027643;0.999981889689856;0.999975371370262;0.999967853075379;0.999959334812728;0.999949816590824;0.999939298419188;0.999927780308336;0.999915262269787;0.999901744316059;
0.999887226460671;0.999871708718139;0.999855191103982;0.999837673634717;0.999819156327862;0.999799639201933;0.999779122276449;0.999757605571926;0.999735089109881;0.999711572912829;
0.999687057004289;0.999661541408774;0.999635026151802;0.999607511259886;0.999578996760543;0.999549482682286;0.999518969054630;0.999487455908088;0.999454943274173;0.999421431185398;
0.999386919675276;0.999351408778317;0.999314898530033;0.999277388966933;0.999238880126528;0.999199372047325;0.999158864768834;0.999117358331562;0.999074852777014;0.999031348147697;
0.998986844487115;0.998941341839772;0.998894840251170;0.998847339767811;0.998798840437196;0.998749342307824;0.998698845429192;0.998647349851798;0.998594855627138;0.998541362807705;
0.998486871446992;0.998431381599491;0.998374893320692;0.998317406667083;0.998258921696150;0.998199438466379;0.998138957037253;0.998077477469252;0.998014999823858;0.997951524163546;
0.997887050551794;0.997821579053074;0.997755109732859;0.997687642657616;0.997619177894815;0.997549715512918;0.997479255581390;0.997407798170688;0.997335343352272;0.997261891198595;
0.997187441783111;0.997111995180267;0.997035551465512;0.996958110715288;0.996879673007036;0.996800238419195;0.996719807031198;0.996638378923477;0.996555954177461;0.996472532875573;
0.996388115101235;0.996302700938866;0.996216290473878;0.996128883792683;0.996040480982687;0.995951082132294;0.995860687330901;0.995769296668903;0.995676910237692;0.995583528129654;
0.995489150438171;0.995393777257620;0.995297408683375;0.995200044811804;0.995101685740271;0.995002331567136;0.994901982391751;0.994800638314467;0.994698299436628;0.994594965860573;
0.994490637689634;0.994385315028140;0.994278997981415;0.994171686655774;0.994063381158529;0.993954081597987;0.993843788083445;0.993732500725198;0.993620219634533;0.993506944923731;
0.993392676706068;0.993277415095810;0.993161160208220;0.993043912159552;0.992925671067055;0.992806437048970;0.992686210224530;0.992564990713963;0.992442778638488;0.992319574120318;
0.992195377282655;0.992070188249698;0.991944007146635;0.991816834099648;0.991688669235910;0.991559512683585;0.991429364571829;0.991298225030792;0.991166094191613;0.991032972186422;
0.990898859148341;0.990763755211484;0.990627660510954;0.990490575182846;0.990352499364245;0.990213433193228;0.990073376808860;0.989932330351197;0.989790293961287;0.989647267781165;
0.989503251953858;0.989358246623382;0.989212251934741;0.989065268033931;0.988917295067935;0.988768333184727;0.988618382533267;0.988467443263508;0.988315515526388;0.988162599473834;
0.988008695258764;0.987853803035080;0.987697922957676;0.987541055182431;0.987383199866213;0.987224357166878;0.987064527243268;0.986903710255212;0.986741906363529;0.986579115730022;
0.986415338517481;0.986250574889684;0.986084825011394;0.985918089048361;0.985750367167321;0.985581659535997;0.985411966323095;0.985241287698308;0.985069623832316;0.984896974896783;
0.984723341064356;0.984548722508671;0.984373119404345;0.984196531926982;0.984018960253169;0.983840404560477;0.983660865027463;0.983480341833666;0.983298835159609;0.983116345186799;
0.982932872097726;0.982748416075862;0.982562977305664;0.982376555972571;0.982189152263003;0.982000766364366;0.981811398465044;0.981621048754405;0.981429717422799;0.981237404661557;
0.981044110662993;0.980849835620400;0.980654579728053;0.980458343181207;0.980261126176101;0.980062928909949;0.979863751580951;0.979663594388283;0.979462457532102;0.979260341213545;
0.979057245634728;0.978853170998747;0.978648117509677;0.978442085372572;0.978235074793461;0.978027085979358;0.977818119138251;0.977608174479105;0.977397252211867;0.977185352547458;
0.976972475697778;0.976758621875704;0.976543791295089;0.976327984170764;0.976111200718536;0.975893441155189;0.975674705698483;0.975454994567151;0.975234307980907;0.975012646160436;
0.974790009327399;0.974566397704435;0.974341811515154;0.974116250984143;0.973889716336962;0.973662207800147;0.973433725601204;0.973204269968616;0.972973841131841;0.972742439321304;
0.972510064768410;0.972276717705532;0.972042398366017;0.971807106984185;0.971570843795327;0.971333609035706;0.971095402942557;0.970856225754086;0.970616077709470;0.970374959048857;
0.970132870013366;0.969889810845086;0.969645781787076;0.969400783083365;0.969154814978952;0.968907877719804;0.968659971552859;0.968411096726024;0.968161253488173;0.967910442089148;
0.967658662779763;0.967405915811795;0.967152201437992;0.966897519912068;0.966641871488705;0.966385256423550;0.966127674973221;0.965869127395296;0.965609613948325;0.965349134891820;
0.965087690486261;0.964825280993091;0.964561906674721;0.964297567794525;0.964032264616841;0.963765997406973;0.963498766431188;0.963230571956717;0.962961414251754;0.962691293585457;
0.962420210227947;0.962148164450306;0.961875156524582;0.961601186723781;0.961326255321873;0.961050362593791;0.960773508815426;0.960495694263631;0.960216919216223;0.959937183951976;
0.959656488750625;0.959374833892864;0.959092219660350;0.958808646335697;0.958524114202476;0.958238623545222;0.957952174649423;0.957664767801530;0.957376403288949;0.957087081400045;
0.956796802424138;0.956505566651509;0.956213374373393;0.955920225881982;0.955626121470426;0.955331061432827;0.955035046064247;0.954738075660700;0.954440150519157;0.954141270937543;
0.953841437214737;0.953540649650574;0.953238908545841;0.952936214202278;0.952632566922581;0.952327967010397;0.952022414770324;0.951715910507916;0.951408454529677;0.951100047143062;
0.950790688656480;0.950480379379289;0.950169119621797;0.949856909695265;0.949543749911902;0.949229640584869;0.948914582028273;0.948598574557175;0.948281618487582;0.947963714136449;
0.947644861821681;0.947325061862130;0.947004314577596;0.946682620288826;0.946359979317516;0.946036391986304;0.945711858618779;0.945386379539475;0.945059955073870;0.944732585548388;
0.944404271290400;0.944075012628220;0.943744809891104;0.943413663409259;0.943081573513828;0.942748540536902;0.942414564811514;0.942079646671640;0.941743786452198;0.941406984489048;
0.941069241118992;0.940730556679773;0.940390931510076;0.940050365949525;0.939708860338688;0.939366415019067;0.939023030333111;0.938678706624202;0.938333444236665;0.937987243515762;
0.937640104807693;0.937292028459598;0.936943014819552;0.936593064236570;0.936242177060601;0.935890353642534;0.935537594334191;0.935183899488331;0.934829269458650;0.934473704599777;
0.934117205267278;0.933759771817651;0.933401404608330;0.933042103997683;0.932681870345008;0.932320704010542;0.931958605355449;0.931595574741828;0.931231612532711;0.930866719092058;
0.930500894784764;0.930134139976653;0.929766455034479;0.929397840325928;0.929028296219613;0.928657823085080;0.928286421292802;0.927914091214179;0.927540833221542;0.927166647688150;
0.926791534988187;0.926415495496766;0.926038529589927;0.925660637644636;0.925281820038784;0.924902077151189;0.924521409361594;0.924139817050667;0.923757300600000;0.923373860392109;
0.922989496810434;0.922604210239340;0.922218001064113;0.921830869670961;0.921442816447016;0.921053841780332;0.920663946059882;0.920273129675564;0.919881393018192;0.919488736479504;
0.919095160452156;0.918700665329725;0.918305251506704;0.917908919378509;0.917511669341470;0.917113501792839;0.916714417130782;0.916314415754385;0.915913498063649;0.915511664459490;
0.915108915343743;0.914705251119158;0.914300672189397;0.913895178959040;0.913488771833581;0.913081451219425;0.912673217523895;0.912264071155224;0.911854012522556;0.911443042035953;
0.911031160106384;0.910618367145730;0.910204663566785;0.909790049783253;0.909374526209746;0.908958093261789;0.908540751355814;0.908122500909164;0.907703342340088;0.907283276067746;
0.906862302512204;0.906440422094434;0.906017635236318;0.905593942360643;0.905169343891099;0.904743840252288;0.904317431869713;0.903890119169780;0.903461902579803;0.903032782528000;
0.902602759443489;0.902171833756293;0.901740005897340;0.901307276298456;0.900873645392369;0.900439113612713;0.900003681394019;0.899567349171718;0.899130117382143;0.898691986462525;
0.898252956850995;0.897813028986584;0.897372203309219;0.896930480259726;0.896487860279826;0.896044343812141;0.895599931300187;0.895154623188376;0.894708419922016;0.894261321947312;
0.893813329711359;0.893364443662152;0.892914664248576;0.892463991920409;0.892012427128325;0.891559970323888;0.891106621959556;0.890652382488674;0.890197252365486;0.889741232045119;
0.889284321983594;0.888826522637821;0.888367834465600;0.887908257925618;0.887447793477452;0.886986441581567;0.886524202699314;0.886061077292932;0.885597065825547;0.885132168761170;
0.884666386564698;0.884199719701913;0.883732168639482;0.883263733844955;0.882794415786769;0.882324214934241;0.881853131757570;0.881381166727843;0.880908320317021;0.880434592997952;
0.879959985244365;0.879484497530865;0.879008130332940;0.878530884126959;0.878052759390167;0.877573756600688;0.877093876237527;0.876613118780562;0.876131484710551;0.875648974509128;
0.875165588658805;0.874681327642965;0.874196191945870;0.873710182052657;0.873223298449334;0.872735541622785;0.872246912060768;0.871757410251912;0.871267036685717;0.870775791852559;
0.870283676243681;0.869790690351199;0.869296834668100;0.868802109688239;0.868306515906340;0.867810053817997;0.867312723919674;0.866814526708698;0.866315462683268;0.865815532342448;
0.865314736186167;0.864813074715222;0.864310548431275;0.863807157836851;0.863302903435341;0.862797785731000;0.862291805228945;0.861784962435156;0.861277257856478;0.860768692000613;
0.860259265376128;0.859748978492448;0.859237831859863;0.858725825989517;0.858212961393416;0.857699238584426;0.857184658076268;0.856669220383523;0.856152926021631;0.855635775506883;
0.855117769356430;0.854598908088281;0.854079192221294;0.853558622275185;0.853037198770526;0.852514922228740;0.851991793172102;0.851467812123741;0.850942979607640;0.850417296148630;
0.849890762272394;0.849363378505467;0.848835145375233;0.848306063409923;0.847776133138622;0.847245355091257;0.846713729798608;0.846181257792300;0.845647939604805;0.845113775769440;
0.844578766820370;0.844042913292604;0.843506215721995;0.842968674645240;0.842430290599881;0.841891064124302;0.841350995757727;0.840810086040229;0.840268335512714;0.839725744716933;
0.839182314195478;0.838638044491778;0.838092936150103;0.837546989715563;0.837000205734103;0.836452584752506;0.835904127318395;0.835354833980226;0.834804705287293;0.834253741789723;
0.833701944038482;0.833149312585366;0.832595847983006;0.832041550784869;0.831486421545250;0.830930460819278;0.830373669162915;0.829816047132952;0.829257595287010;0.828698314183543;
0.828138204381831;0.827577266441984;0.827015500924938;0.826452908392461;0.825889489407145;0.825325244532407;0.824760174332494;0.824194279372476;0.823627560218246;0.823060017436525;
0.822491651594856;0.821922463261602;0.821352453005955;0.820781621397923;0.820209969008337;0.819637496408852;0.819064204171938;0.818490092870889;0.817915163079814;0.817339415373644;
0.816762850328128;0.816185468519828;0.815607270526129;0.815028256925228;0.814448428296136;0.813867785218685;0.813286328273516;0.812704058042086;0.812120975106667;0.811537080050340;
MATLAB Command History Page 119
May 7, 2019 3:46:17 PM
0.810952373457000;0.810366855911355;0.809780527998921;0.809193390306027;0.808605443419810;0.808016687928217;0.807427124420003;0.806836753484732;0.806245575712775;0.805653591695310;
0.805060802024319;0.804467207292594;0.803872808093729;0.803277605022121;0.802681598672977;0.802084789642301;0.801487178526901;0.800888765924390;0.800289552433181;0.799689538652485;
0.799088725182316;0.798487112623490;0.797884701577618;0.797281492647110;0.796677486435176;0.796072683545823;0.795467084583851;0.794860690154862;0.794253500865249;0.793645517322200;
0.793036740133701;0.792427169908528;0.791816807256251;0.791205652787232;0.790593707112628;0.789980970844382;0.789367444595229;0.788753128978699;0.788138024609106;0.787522132101553;
0.786905452071934;0.786287985136929;0.785669731914004;0.785050693021412;0.784430869078194;0.783810260704170;0.783188868519952;0.782566693146931;0.781943735207281;0.781319995323962;
0.780695474120713;0.780070172222054;0.779444090253288;0.778817228840497;0.778189588610542;0.777561170191062;0.776931974210478;0.776302001297985;0.775671252083554;0.775039727197936;
0.774407427272656;0.773774352940012;0.773140504833081;0.772505883585709;0.771870489832517;0.771234324208901;0.770597387351025;0.769959679895825;0.769321202481009;0.768681955745055;
0.768041940327210;0.767401156867487;0.766759606006673;0.766117288386316;0.765474204648734;0.764830355437012;0.764185741394998;0.763540363167306;0.762894221399315;0.762247316737166;
0.761599649827763;0.760951221318774;0.760302031858628;0.759652082096513;0.759001372682379;0.758349904266936;0.757697677501652;0.757044693038752;0.756390951531224;0.755736453632807;
0.755081199997998;0.754425191282053;0.753768428140980;0.753110911231541;0.752452641211254;0.751793618738389;0.751133844471966;0.750473319071763;0.749812043198303;0.749150017512863;
0.748487242677466;0.747823719354890;0.747159448208657;0.746494429903037;0.745828665103050;0.745162154474461;0.744494898683778;0.743826898398259;0.743158154285904;0.742488667015456;
0.741818437256403;0.741147465678975;0.740475752954143;0.739803299753619;0.739130106749858;0.738456174616052;0.737781504026131;0.737106095654769;0.736429950177373;0.735753068270087;
0.735075450609795;0.734397097874113;0.733718010741394;0.733038189890727;0.732357636001930;0.731676349755558;0.730994331832898;0.730311582915967;0.729628103687513;0.728943894831016;
0.728258957030686;0.727573290971460;0.726886897339002;0.726199776819708;0.725511930100699;0.724823357869818;0.724134060815641;0.723444039627463;0.722753294995306;0.722061827609914;
0.721369638162755;0.720676727346017;0.719983095852613;0.719288744376172;0.718593673611048;0.717897884252308;0.717201376995746;0.716504152537866;0.715806211575892;0.715107554807767;
0.714408182932147;0.713708096648402;0.713007296656622;0.712305783657604;0.711603558352861;0.710900621444620;0.710196973635817;0.709492615630098;0.708787548131823;0.708081771846060;
0.707375287478584;0.706668095735878;0.705960197325137;0.705251592954256;0.704542283331841;0.703832269167202;0.703121551170353;0.702410130052010;0.701698006523596;0.700985181297235;
0.700271655085749;0.699557428602668;0.698842502562217;0.698126877679320;0.697410554669604;0.696693534249393;0.695975817135705;0.695257404046256;0.694538295699463;0.693818492814432;
0.693097996110965;0.692376806309560;0.691654924131407;0.690932350298387;0.690209085533075;0.689485130558734;0.688760486099320;0.688035152879478;0.687309131624540;0.686582423060527;
0.685855027914149;0.685126946912801;0.684398180784562;0.683668730258199;0.682938596063164;0.682207778929589;0.681476279588291;0.680744098770772;0.680011237209210;0.679277695636467;
0.678543474786086;0.677808575392287;0.677072998189967;0.676336743914707;0.675599813302760;0.674862207091054;0.674123926017199;0.673384970819474;0.672645342236834;0.671905041008906;
0.671164067875995;0.670422423579072;0.669680108859780;0.668937124460436;0.668193471124024;0.667449149594195;0.666704160615273;0.665958504932246;0.665212183290768;0.664465196437164;
0.663717545118419;0.662969230082182;0.662220252076772;0.661470611851165;0.660720310155002;0.659969347738582;0.659217725352870;0.658465443749488;0.657712503680716;0.656958905899497;
0.656204651159426;0.655449740214757;0.654694173820405;0.653937952731932;0.653181077705561;0.652423549498167;0.651665368867279;0.650906536571075;0.650147053368388;0.649386920018704;
0.648626137282153;0.647864705919518;0.647102626692232;0.646339900362373;0.645576527692667;0.644812509446488;0.644047846387853;0.643282539281424;0.642516588892511;0.641749995987063;
0.640982761331670;0.640214885693571;0.639446369840640;0.638677214541392;0.637907420564982;0.637136988681205;0.636365919660493;0.635594214273913;0.634821873293173;0.634048897490613;
0.633275287639206;0.632501044512566;0.631726168884935;0.630950661531185;0.630174523226828;0.629397754748001;0.628620356871469;0.627842330374635;0.627063676035522;0.626284394632786;
0.625504486945706;0.624723953754192;0.623942795838777;0.623161013980617;0.622378608961496;0.621595581563817;0.620811932570608;0.620027662765519;0.619242772932819;0.618457263857397;
0.617671136324763;0.616884391121045;0.616097029032985;0.615309050847949;0.614520457353914;0.613731249339472;0.612941427593831;0.612150992906815;0.611359946068857;0.610568287871002;
0.609776019104912;0.608983140562854;0.608189653037704;0.607395557322953;0.606600854212696;0.605805544501633;0.605009628985078;0.604213108458945;0.603415983719751;0.602618255564626;
0.601819924791296;0.601020992198090;0.600221458583942;0.599421324748386;0.598620591491555;0.597819259614181;0.597017329917599;0.596214803203737;0.595411680275120;0.594607961934874;
0.593803648986715;0.592998742234955;0.592193242484504;0.591387150540860;0.590580467210113;0.589773193298949;0.588965329614642;0.588156876965054;0.587347836158636;0.586538208004433;
0.585727993312070;0.584917192891762;0.584105807554311;0.583293838111101;0.582481285374100;0.581668150155863;0.580854433269525;0.580040135528801;0.579225257747991;0.578409800741971;
0.577593765326198;0.576777152316709;0.575959962530115;0.575142196783607;0.574323855894949;0.573504940682484;0.572685451965126;0.571865390562362;0.571044757294257;0.570223552981442;
0.569401778445121;0.568579434507070;0.567756521989631;0.566933041715717;0.566108994508810;0.565284381192955;0.564459202592764;0.563633459533420;0.562807152840663;0.561980283340800;
0.561152851860699;0.560324859227795;0.559496306270078;0.558667193816100;0.557837522694976;0.557007293736375;0.556176507770526;0.555345165628218;0.554513268140789;0.553680816140138;
0.552847810458717;0.552014251929533;0.551180141386142;0.550345479662655;0.549510267593735;0.548674506014594;0.547838195760990;0.547001337669238;0.546163932576194;0.545325981319262;
0.544487484736395;0.543648443666088;0.542808858947382;0.541968731419864;0.541128061923659;0.540286851299436;0.539445100388408;0.538602810032325;0.537759981073477;0.536916614354691;
0.536072710719336;0.535228271011316;0.534383296075068;0.533537786755570;0.532691743898329;0.531845168349388;0.530998060955324;0.530150422563243;0.529302254020782;0.528453556176113;
0.527604329877932;0.526754575975463;0.525904295318464;0.525053488757214;0.524202157142518;0.523350301325707;0.522497922158640;0.521645020493695;0.520791597183771;0.519937653082295;
0.519083189043209;0.518228205920975;0.517372704570581;0.516516685847525;0.515660150607824;0.514803099708018;0.513945534005155;0.513087454356799;0.512228861621033;0.511369756656448;
0.510510140322149;0.509650013477750;0.508789376983383;0.507928231699680;0.507066578487787;0.506204418209359;0.505341751726555;0.504478579902040;0.503614903598988;0.502750723681075;
0.501886041012479;0.501020856457885;0.500155170882476;0.499288985151936;0.498422300132455;0.497555116690715;0.496687435693899;0.495819258009688;0.494950584506262;0.494081416052292;
0.493211753516946;0.492341597769889;0.491470949681276;0.490599810121752;0.489728179962460;0.488856060075029;0.487983451331578;0.487110354604717;0.486236770767542;0.485362700693635;
0.484488145257070;0.483613105332400;0.482737581794665;0.481861575519387;0.480985087382574;0.480108118260715;0.479230669030776;0.478352740570209;0.477474333756942;0.476595449469379;
0.475716088586407;0.474836251987387;0.473955940552153;0.473075155161019;0.472193896694770;0.471312166034662;0.470429964062428;0.469547291660270;0.468664149710859;0.467780539097336;
0.466896460703315;0.466011915412871;0.465126904110550;0.464241427681364;0.463355487010790;0.462469082984766;0.461582216489698;0.460694888412453;0.459807099640357;0.458918851061200;
0.458030143563231;0.457140978035154;0.456251355366140;0.455361276445808;0.454470742164237;0.453579753411961;0.452688311079970;0.451796416059706;0.450904069243063;0.450011271522389;
0.449118023790481;0.448224326940585;0.447330181866401;0.446435589462073;0.445540550622190;0.444645066241796;0.443749137216373;0.442852764441849;0.441955948814596;0.441058691231433;
0.440160992589616;0.439262853786841;0.438364275721250;0.437465259291420;0.436565805396366;0.435665914935544;0.434765588808844;0.433864827916589;0.432963633159544;0.432062005438903;
0.431159945656290;0.430257454713769;0.429354533513829;0.428451182959391;0.427547403953805;0.426643197400852;0.425738564204737;0.424833505270092;0.423928021501978;0.423022113805878;
0.422115783087698;0.421209030253772;0.420301856210851;0.419394261866107;0.418486248127137;0.417577815901955;0.416668966098989;0.415759699627094;0.414850017395534;0.413939920313991;
0.413029409292560;0.412118485241757;0.411207149072502;0.410295401696131;0.409383244024394;0.408470676969447;0.407557701443856;0.406644318360599;0.405730528633057;0.404816333175019;
0.403901732900683;0.402986728724648;0.402071321561916;0.401155512327897;0.400239301938400;0.399322691309634;0.398405681358209;0.397488273001137;0.396570467155825;0.395652264740077;
0.394733666672099;0.393814673870488;0.392895287254233;0.391975507742726;0.391055336255744;0.390134773713456;0.389213821036429;0.388292479145614;0.387370748962349;0.386448631408370;
0.385526127405792;0.384603237877118;0.383679963745237;0.382756305933426;0.381832265365341;0.380907842965020;0.379983039656890;0.379057856365752;0.378132294016788;0.377206353535562;
0.376280035848015;0.375353341880461;0.374426272559599;0.373498828812495;0.372571011566592;0.371642821749709;0.370714260290037;0.369785328116134;0.368856026156933;0.367926355341738;
0.366996316600218;0.366065910862411;0.365135139058725;0.364204002119930;0.363272500977162;0.362340636561925;0.361408409806082;0.360475821641857;0.359542873001842;0.358609564818984;
0.357675898026590;0.356741873558329;0.355807492348224;0.354872755330656;0.353937663440361;0.353002217612434;0.352066418782319;0.351130267885812;0.350193765859069;0.349256913638588;
0.348319712161222;0.347382162364174;0.346444265184993;0.345506021561574;0.344567432432163;0.343628498735349;0.342689221410064;0.341749601395587;0.340809639631537;0.339869337057875;
0.338928694614904;0.337987713243268;0.337046393883946;0.336104737478258;0.335162744967861;0.334220417294747;0.333277755401243;0.332334760230012;0.331391432724049;0.330447773826679;
0.329503784481564;0.328559465632692;0.327614818224382;0.326669843201280;0.325724541508363;0.324778914090932;0.323832961894612;0.322886685865359;0.321940086949447;0.320993166093473;
0.320045924244361;0.319098362349352;0.318150481356006;0.317202282212206;0.316253765866150;0.315304933266354;0.314355785361652;0.313406323101191;0.312456547434432;0.311506459311151;
0.310556059681438;0.309605349495692;0.308654329704619;0.307703001259245;0.306751365110895;0.305799422211204;0.304847173512118;0.303894619965883;0.302941762525053;0.301988602142486;
0.301035139771343;0.300081376365083;0.299127312877474;0.298172950262577;0.297218289474754;0.296263331468665;0.295308077199271;0.294352527621824;0.293396683691872;0.292440546365263;
0.291484116598132;0.290527395346907;0.289570383568313;0.288613082219359;0.287655492257345;0.286697614639864;0.285739450324793;0.284781000270294;0.283822265434820;0.282863246777104;
0.281903945256164;0.280944361831302;0.279984497462102;0.279024353108429;0.278063929730424;0.277103228288514;0.276142249743399;0.275180995056055;0.274219465187741;0.273257661099985;
0.272295583754588;0.271333234113633;0.270370613139466;0.269407721794706;0.268444561042249;0.267481131845253;0.266517435167148;0.265553471971628;0.264589243222659;0.263624749884470;
0.262659992921551;0.261694973298663;0.260729691980823;0.259764149933311;0.258798348121673;0.257832287511708;0.256865969069475;0.255899393761297;0.254932562553746;0.253965476413651;
0.252998136308104;0.252030543204441;0.251062698070256;0.250094601873392;0.249126255581949;0.248157660164271;0.247188816588952;0.246219725824838;0.245250388841019;0.244280806606831;
0.243310980091857;0.242340910265924;0.241370598099099;0.240400044561697;0.239429250624272;0.238458217257613;0.237486945432759;0.236515436120980;0.235543690293784;0.234571708922916;
0.233599492980360;0.232627043438330;0.231654361269275;0.230681447445879;0.229708302941055;0.228734928727946;0.227761325779929;0.226787495070605;0.225813437573803;0.224839154263584;
0.223864646114230;0.222889914100246;0.221914959196368;0.220939782377550;0.219964384618968;0.218988766896018;0.218012930184321;0.217036875459712;0.216060603698244;0.215084115876192;
0.214107412970041;0.213130495956495;0.212153365812471;0.211176023515100;0.210198470041720;0.209220706369890;0.208242733477371;0.207264552342135;0.206286163942365;0.205307569256448;
0.204328769262979;0.203349764940756;0.202370557268786;0.201391147226277;0.200411535792635;0.199431723947476;0.198451712670609;0.197471502942045;0.196491095741996;0.195510492050867;
0.194529692849261;0.193548699117980;0.192567511838016;0.191586131990557;0.190604560556979;0.189622798518859;0.188640846857956;0.187658706556220;0.186676378595795;0.185693863959006;
0.184711163628368;0.183728278586583;0.182745209816535;0.181761958301290;0.180778525024104;0.179794910968408;0.178811117117815;0.177827144456121;0.176842993967297;0.175858666635494;
0.174874163445037;0.173889485380434;0.172904633426359;0.171919608567663;0.170934411789375;0.169949044076690;0.168963506414973;0.167977799789765;0.166991925186771;0.166005883591865;
0.165019675991090;0.164033303370654;0.163046766716925;0.162060067016446;0.161073205255912;0.160086182422187;0.159098999502292;0.158111657483411;0.157124157352887;0.156136500098216;
0.155148686707060;0.154160718167230;0.153172595466694;0.152184319593576;0.151195891536151;0.150207312282846;0.149218582822242;0.148229704143069;0.147240677234201;0.146251503084671;
0.145262182683649;0.144272717020457;0.143283107084559;0.142293353865566;0.141303458353232;0.140313421537450;0.139323244408259;0.138332927955836;0.137342473170494;0.136351881042693;
0.135361152563022;0.134370288722207;0.133379290511117;0.132388158920748;0.131396894942229;0.130405499566828;0.129413973785938;0.128422318591085;0.127430534973922;0.126438623926237;
0.125446586439938;0.124454423507062;0.123462136119774;0.122469725270360;0.121477191951230;0.120484537154920;0.119491761874082;0.118498867101491;0.117505853830044;0.116512723052753;
0.115519475762747;0.114526112953277;0.113532635617703;0.112539044749504;0.111545341342267;0.110551526389699;0.109557600885615;0.108563565823937;0.107569422198704;0.106575171004058;
0.105580813234248;0.104586349883635;0.103591781946681;0.102597110417952;0.101602336292123;0.100607460563966;0.0996124842283556;0.0986174082802706;0.0976222337147855;0.0966269615270748;
0.0956315927124089;0.0946361282661601;0.0936405691837908;0.0926449164608584;0.0916491710930190;0.0906533340760162;0.0896574064056851;0.0886613890779568;0.0876652830888468;
0.0866690894344593;0.0856728091109914;0.0846764431147214;0.0836799924420137;0.0826834580893222;0.0816868410531795;0.0806901423302026;0.0796933629170883;0.0786965038106195;
0.0776995660076535;0.0767025505051262;0.0757054583000565;0.0747082903895348;0.0737110477707272;0.0727137314408797;0.0717163423973068;0.0707188816373958;0.0697213501586108;
0.0687237489584814;0.0677260790346088;0.0667283413846611;0.0657305370063792;0.0647326668975659;0.0637347320560893;0.0627367334798877;0.0617386721669578;0.0607405491153592;
0.0597423653232183;0.0587441217887170;0.0577458195100971;0.0567474594856642;0.0557490427137766;0.0547505701928492;0.0537520429213579;0.0527534618978281;0.0517548281208409;
0.0507561425890280;0.0497574063010786;0.0487586202557270;0.0477597854517575;0.0467609028880083;0.0457619735633600;0.0447629984767403;0.0437639786271276;0.0427649150135399;
0.0417658086350389;0.0407666604907346;0.0397674715797732;0.0387682429013418;0.0377689754546724;0.0367696702390308;0.0357703282537220;0.0347709504980861;0.0337715379715044;
0.0327720916733875;0.0317726126031800;0.0307731017603642;0.0297735601444493;0.0287739887549749;0.0277743885915159;0.0267747606536707;0.0257751059410652;0.0247754254533578;
0.0237757201902269;0.0227759911513761;0.0217762393365378;0.0207764657454619;0.0197766713779221;0.0187768572337107;0.0177770243126455;0.0167771736145574;0.0157773061392954;
0.0147774228867302;0.0137775248567435;0.0127776130492312;0.0117776884641087;0.0107777521012988;0.00977780496073587;0.00877784804237057;0.00777788234615796;0.00677790887206188;
0.00577792862005926;0.00477794259012851;0.00377795178225557;0.00277795719642938;0.00177795983264800;0.000777960690906943;-0.000222039228796520;-0.00122203892645900;-0.00222203740208265;
-0.00322203365567086;-0.00422202668722391;-0.00522201549675062;-0.00622199908426405;-0.00722197644977713;-0.00822194659331437;-0.00922190851490748;-0.0102218612145911;-0.0112218036924143;
-0.0122217349484347;-0.0132216539827230;-0.0142215597953567;-0.0152214513864317;-0.0162213277560584;-0.0172211879043570;-0.0182210308314690;-0.0192208555375535;-0.0202206610227823;
-0.0212204462873518;-0.0222202103314785;-0.0232199521553950;-0.0242196707593612;-0.0252193651436605;-0.0262190343085950;-0.0272186772544973;-0.0282182929817247;-0.0292178804906631;
-0.0302174387817218;-0.0312169668553442;-0.0322164637120041;-0.0332159283522013;-0.0342153597764728;-0.0352147569853892;-0.0362141189795497;-0.0372134447595943;-0.0382127333261991;
-0.0392119836800719;-0.0402111948219642;-0.0412103657526669;-0.0422094954730055;-0.0432085829838522;-0.0442076272861194;-0.0452066273807649;-0.0462055822687849;-0.0472044909512265;
-0.0482033524291829;-0.0492021657037891;-0.0502009297762337;-0.0511996436477545;-0.0521983063196341;-0.0531969167932117;-0.0541954740698788;-0.0551939771510745;-0.0561924250382977;
-0.0571908167331005;-0.0581891512370932;-0.0591874275519376;-0.0601856446793595;-0.0611838016211434;-0.0621818973791291;-0.0631799309552226;-0.0641779013513921;-0.0651758075696639;
-0.0661736486121335;-0.0671714234809619;-0.0681691311783705;-0.0691667707066537;-0.0701643410681737;-0.0711618412653566;-0.0721592703007043;-0.0731566271767877;-0.0741539108962517;
-0.0751511204618093;-0.0761482548762527;-0.0771453131424493;-0.0781422942633374;-0.0791391972419378;-0.0801360210813493;-0.0811327647847446;-0.0821294273553820;-0.0831260077966005;
-0.0841225051118164;-0.0851189183045343;-0.0861152463783426;-0.0871114883369101;-0.0881076431839964;-0.0891037099234469;-0.0900996875591967;-0.0910955750952646;-0.0920913715357650;
-0.0930870758849034;-0.0940826871469718;-0.0950782043263610;-0.0960736264275555;-0.0970689524551298;-0.0980641814137597;-0.0990593123082182;-0.100054344143371;-0.101049275924188;
-0.102044106655739;-0.103038835343190;-0.104033460991814;-0.105027982606987;-0.106022399194187;-0.107016709758995;-0.108010913307102;-0.109005008844306;-0.109998995376509;
-0.110992871909726;-0.111986637450082;-0.112980291003808;-0.113973831577252;-0.114967258176876;-0.115960569809250;-0.116953765481064;-0.117946844199123;-0.118939804970347;
-0.119932646801775;-0.120925368700567;-0.121917969674002;-0.122910448729475;-0.123902804874510;-0.124895037116752;-0.125887144463966;-0.126879125924046;-0.127870980505012;
-0.128862707215007;-0.129854305062305;-0.130845773055310;-0.131837110202552;-0.132828315512695;-0.133819387994534;-0.134810326656996;-0.135801130509141;-0.136791798560168;
-0.137782329819409;-0.138772723296330;-0.139762978000540;-0.140753092941784;-0.141743067129946;-0.142732899575053;-0.143722589287273;-0.144712135276915;-0.145701536554433;
-0.146690792130428;-0.147679901015642;-0.148668862220968;-0.149657674757445;-0.150646337636258;-0.151634849868746;-0.152623210466397;-0.153611418440852;-0.154599472803899;
-0.155587372567486;-0.156575116743716;-0.157562704344840;-0.158550134383273;-0.159537405871587;-0.160524517822506;-0.161511469248921;-0.162498259163882;-0.163484886580595;
-0.164471350512435;-0.165457649972941;-0.166443783975808;-0.167429751534906;-0.168415551664265;-0.169401183378089;-0.170386645690742;-0.171371937616763;-0.172357058170863;
-0.173342006367917;-0.174326781222980;-0.175311381751277;-0.176295806968205;-0.177280055889342;-0.178264127530438;-0.179248020907421;-0.180231735036397;-0.181215268933654;
-0.182198621615658;-0.183181792099054;-0.184164779400673;-0.185147582537530;-0.186130200526819;-0.187112632385922;-0.188094877132410;-0.189076933784035;-0.190058801358741;
-0.191040478874665;-0.192021965350123;-0.193003259803632;-0.193984361253899;-0.194965268719819;-0.195945981220487;-0.196926497775190;-0.197906817403413;-0.198886939124834;
-0.199866861959332;-0.200846584926986;-0.201826107048071;-0.202805427343065;-0.203784544832651;-0.204763458537707;-0.205742167479321;-0.206720670678787;-0.207698967157598;
-0.208677055937459;-0.209654936040283;-0.210632606488187;-0.211610066303501;-0.212587314508768;-0.213564350126739;-0.214541172180376;-0.215517779692859;-0.216494171687581;
-0.217470347188149;-0.218446305218387;-0.219422044802340;-0.220397564964265;-0.221372864728643;-0.222347943120177;-0.223322799163784;-0.224297431884611;-0.225271840308026;
-0.226246023459618;-0.227219980365205;-0.228193710050831;-0.229167211542768;-0.230140483867511;-0.231113526051788;-0.232086337122561;-0.233058916107014;-0.234031262032571;
-0.235003373926887;-0.235975250817846;-0.236946891733575;-0.237918295702433;-0.238889461753014;-0.239860388914153;-0.240831076214924;-0.241801522684638;-0.242771727352849;
MATLAB Command History Page 120
May 7, 2019 3:46:17 PM
-0.243741689249353;-0.244711407404190;-0.245680880847638;-0.246650108610226;-0.247619089722728;-0.248587823216158;-0.249556308121786;-0.250524543471129;-0.251492528295947;
-0.252460261628258;-0.253427742500330;-0.254394969944679;-0.255361942994079;-0.256328660681559;-0.257295122040398;-0.258261326104137;-0.259227271906571;-0.260192958481756;
-0.261158384864003;-0.262123550087887;-0.263088453188244;-0.264053093200168;-0.265017469159021;-0.265981580100429;-0.266945425060277;-0.267909003074722;-0.268872313180188;
-0.269835354413362;-0.270798125811204;-0.271760626410944;-0.272722855250079;-0.273684811366381;-0.274646493797895;-0.275607901582939;-0.276569033760103;-0.277529889368257;
-0.278490467446546;-0.279450767034389;-0.280410787171488;-0.281370526897825;-0.282329985253657;-0.283289161279527;-0.284248054016261;-0.285206662504964;-0.286164985787027;
-0.287123022904130;-0.288080772898233;-0.289038234811587;-0.289995407686730;-0.290952290566491;-0.291908882493984;-0.292865182512619;-0.293821189666097;-0.294776902998409;
-0.295732321553842;-0.296687444376980;-0.297642270512697;-0.298596799006168;-0.299551028902866;-0.300504959248559;-0.301458589089318;-0.302411917471513;-0.303364943441817;
-0.304317666047201;-0.305270084334945;-0.306222197352631;-0.307174004148144;-0.308125503769678;-0.309076695265736;-0.310027577685123;-0.310978150076958;-0.311928411490670;
-0.312878360975996;-0.313827997582986;-0.314777320362006;-0.315726328363731;-0.316675020639154;-0.317623396239582;-0.318571454216643;-0.319519193622274;-0.320466613508738;
-0.321413712928617;-0.322360490934808;-0.323306946580535;-0.324253078919344;-0.325198887005099;-0.326144369891995;-0.327089526634549;-0.328034356287603;-0.328978857906327;
-0.329923030546223;-0.330866873263114;-0.331810385113159;-0.332753565152847;-0.333696412438999;-0.334638926028765;-0.335581104979632;-0.336522948349425;-0.337464455196295;
-0.338405624578738;-0.339346455555587;-0.340286947186006;-0.341227098529507;-0.342166908645939;-0.343106376595490;-0.344045501438692;-0.344984282236424;-0.345922718049900;
-0.346860807940687;-0.347798550970695;-0.348735946202183;-0.349672992697752;-0.350609689520357;-0.351546035733304;-0.352482030400242;-0.353417672585180;-0.354352961352476;
-0.355287895766838;-0.356222474893335;-0.357156697797388;-0.358090563544771;-0.359024071201620;-0.359957219834430;-0.360890008510049;-0.361822436295688;-0.362754502258922;
-0.363686205467686;-0.364617544990272;-0.365548519895344;-0.366479129251928;-0.367409372129412;-0.368339247597555;-0.369268754726482;-0.370197892586683;-0.371126660249023;
-0.372055056784735;-0.372983081265420;-0.373910732763054;-0.374838010349989;-0.375764913098942;-0.376691440083014;-0.377617590375678;-0.378543363050784;-0.379468757182556;
-0.380393771845604;-0.381318406114912;-0.382242659065845;-0.383166529774151;-0.384090017315960;-0.385013120767783;-0.385935839206516;-0.386858171709445;-0.387780117354232;
-0.388701675218934;-0.389622844381995;-0.390543623922243;-0.391464012918899;-0.392384010451575;-0.393303615600274;-0.394222827445389;-0.395141645067710;-0.396060067548420;
-0.396978093969094;-0.397895723411707;-0.398812954958632;-0.399729787692633;-0.400646220696879;-0.401562253054940;-0.402477883850780;-0.403393112168770;-0.404307937093682;
-0.405222357710690;-0.406136373105373;-0.407049982363718;-0.407963184572115;-0.408875978817360;-0.409788364186661;-0.410700339767633;-0.411611904648298;-0.412523057917093;
-0.413433798662865;-0.414344125974872;-0.415254038942788;-0.416163536656701;-0.417072618207110;-0.417981282684935;-0.418889529181513;-0.419797356788598;-0.420704764598360;
-0.421611751703392;-0.422518317196709;-0.423424460171743;-0.424330179722352;-0.425235474942818;-0.426140344927843;-0.427044788772558;-0.427948805572522;-0.428852394423715;
-0.429755554422548;-0.430658284665865;-0.431560584250931;-0.432462452275449;-0.433363887837551;-0.434264890035803;-0.435165457969199;-0.436065590737173;-0.436965287439595;
-0.437864547176764;-0.438763369049423;-0.439661752158750;-0.440559695606360;-0.441457198494312;-0.442354259925103;-0.443250879001670;-0.444147054827395;-0.445042786506103;
-0.445938073142061;-0.446832913839982;-0.447727307705027;-0.448621253842803;-0.449514751359361;-0.450407799361205;-0.451300396955289;-0.452192543249012;-0.453084237350229;
-0.453975478367249;-0.454866265408826;-0.455756597584175;-0.456646474002967;-0.457535893775321;-0.458424856011820;-0.459313359823502;-0.460201404321861;-0.461088988618855;
-0.461976111826898;-0.462862773058869;-0.463748971428104;-0.464634706048406;-0.465519976034043;-0.466404780499741;-0.467289118560697;-0.468172989332575;-0.469056391931502;
-0.469939325474075;-0.470821789077364;-0.471703781858901;-0.472585302936696;-0.473466351429228;-0.474346926455448;-0.475227027134780;-0.476106652587125;-0.476985801932858;
-0.477864474292828;-0.478742668788363;-0.479620384541271;-0.480497620673832;-0.481374376308813;-0.482250650569460;-0.483126442579494;-0.484001751463126;-0.484876576345049;
-0.485750916350434;-0.486624770604943;-0.487498138234724;-0.488371018366406;-0.489243410127110;-0.490115312644444;-0.490986725046508;-0.491857646461887;-0.492728076019660;
-0.493598012849400;-0.494467456081166;-0.495336404845518;-0.496204858273508;-0.497072815496679;-0.497940275647076;-0.498807237857240;-0.499673701260207;-0.500539664989514;
-0.501405128179199;-0.502270089963796;-0.503134549478346;-0.503998505858387;-0.504861958239966;-0.505724905759628;-0.506587347554426;-0.507449282761920;-0.508310710520172;
-0.509171629967756;-0.510032040243754;-0.510891940487753;-0.511751329839854;-0.512610207440669;-0.513468572431318;-0.514326423953437;-0.515183761149177;-0.516040583161197;
-0.516896889132677;-0.517752678207311;-0.518607949529311;-0.519462702243403;-0.520316935494837;-0.521170648429379;-0.522023840193316;-0.522876509933455;-0.523728656797130;
-0.524580279932190;-0.525431378487014;-0.526281951610505;-0.527131998452086;-0.527981518161713;-0.528830509889867;-0.529678972787554;-0.530526906006312;-0.531374308698209;
-0.532221180015842;-0.533067519112339;-0.533913325141361;-0.534758597257103;-0.535603334614291;-0.536447536368190;-0.537291201674598;-0.538134329689848;-0.538976919570813;
-0.539818970474905;-0.540660481560069;-0.541501451984798;-0.542341880908119;-0.543181767489606;-0.544021110889370]
%-- 06/05/2019 1:47 PM --%
clear all
close all
-cos(0.001)+cos(0)
(0.001/2)*(sin(0)+sin(0.001))
-cos(0.002)+cos(0.001)
(0.001/2)*(sin(0.001)+sin(0.002))
sin(0)
sin(0.001)
0.001
sin(0.002)
-cos(0)
-cos(0.001)
-cos(0.002)
trapz([0;0.001])
clc
Parameter
X.x3.data
C1 = -m2*l1*l2*sin(X.x3.data).*X.x4.data^2 - 2*m2*l1*l2*sin(X.x3.data).*X.x2.data.*X.x4.data
C1 = -m2*l1*l2*sin(X.x3.data).*X.x4.data.^2 - 2*m2*l1*l2*sin(X.x3.data).*X.x2.data.*X.x4.data
plot(C1)
figure; plot(X.x3);
figure; plot(X.x4);
figure; plot(X.x4.^2);
figure; plot(X.x4^2);
figure; plot(X.x4.time,X.x4.data.^2);
load('SMC.mat')
figure; plot(sys.C1);
figure; plot(sys);
load('FD_FC_FSMC2.mat')
figure; plot(sys);
figure; plot(sys.C1);
figure; plot(X.x1);
figure; plot(sys.C2);
figure; plot(sys.M11);
figure; plot(sys.M12);
figure; plot(sys.M21);
figure; plot(sys.M22);
figure; plot(sys.C2);
figure; plot(sys.G2);
figure; plot(sys.G1);
close all
clear
load('SMC.mat')
figure; plot(sys.M11);
figure; plot(sys.M12);
figure; plot(sys.M21);
figure; plot(sys.M22);
figure; plot(sys.C1);
figure; plot(sys.C2);
figure; plot(sys.G1);
figure; plot(sys.G2);
figure; plot(X.x2dot);
figure; plot(x2dot);
figure; plot(x4dot);
figure; plot(x2ddot);
hold on
plot(x2dot,'r')
figure; plot(x2ddot);
hold on
figure; plot(x1d);
hold on
plot(x1,'r')
figure; plot(-m2*l1*l2*sin(x3.data).*x4.data.^2);
figure; plot(- 2*m2*l1*l2*sin(x3.data).*x2.data.*x4.data);
close all
Parameter
figure; plot(sys.M11);
figure; plot(sys.M12);
figure; plot(sys.M22);
figure; plot(sys.C1);
figure; plot(sys.C2);
figure; plot(sys.G1);
figure; plot(sys.G2);
figure; plot(Xd.x1d);
hold on
plot(X.x1,'r')
figure; plot(X.x2);
figure; plot(X.x3);
figure; plot(X.x4);
figure; plot(X.x2);
figure; plot(-m2*l1*l2*sin(X.x3.data).*X.x4.data.^2);
close all
Parameter
figure; plot(sys.C1);
figure; plot(X.x2dot);
MATLAB Command History Page 121
May 7, 2019 3:46:17 PM