Kashub's Code Barn - "Historia poleceń matlaba z jakiejś sali na PG"

podświetlone jako matlab (dodał(a) Kashub @ 2007-07-12 23:33:38)

Twoja wyszukiwarka
Podświetl ten kod w:
Ostatnio dodane:
Losowe wpisy:
TADA(8)
TADA(16)
TADA(1)
TADA(2)
TADA(1)
TADA(2)
TADA(3)
TADA(4)
TADA(5)
TADA(16)
TADA(0)
TADA(0,8)
TADA(3,8)
TADA(334,8)
TADA(33,8)
TADA(47,8)
%-- 3/29/07 12:07 PM --%
fuzzy mojladownik
d:
cd d:
cd Studenci\flak\
fuzzy mojladownik
fuzzy
fuzzy flakownik
run sum1
run sym1
run sym1.m
sym1
help fibnd
help help/techdoc/ref/find.html">find
%-- 4/03/07 10:25 AM --%
fuzzy
wahadlo fiswahadla
wahadlo
wahadlo(fiswahadlo)
wahadlo(fiswahadla)
wahadlo fiswahadla
%-- 4/17/07 10:18 AM --%
bayes
PW = 0.002;
PU = 0.5;
PT = 0.06;
PS_WU = 0.3;
PS_nWU = 0.2;
PS_WnU = 0.07;
PS_nWnU = 0.02;
PA_T = 0.1;
PA_nT = 0.01;
PZ_SA = 0.95;
PZ_nSA = 0.90;
PZ_Sn = 0.40;
PZ_nSnA = 0.11;
PW = 0.002;
PW(0.002)
PW = 0.002;
function ps_anal(){
ps_anal = PS_WU*PW*PU + PS_nWU*(1-PW)*PU + PS_WnU*PW*(1-PU) + PS_nWnU*(1-PW)*(1-PU)
for i=1 to 10000
for i=1,10000
zW = rand<pW
end
zW = rand < PW
zW = rand(1,10000) < PW
sum(ans)
sum(zW)
zW = rand(1,100000) < PW
zU = rand(1,100000) < PU
zT = rand(1,100000) < PT
zS_WU = rand(1,100000) < PS_WU
zS_WnU = rand(1,100000) < PS_WnU
zS_nWU = rand(1,100000) < PS_nWU
zS_nWnU = rand(1,100000) < PS_nWnU
ps_bayes = sum(zS_WU) + sum(zS_WnU) + sum(zS_nWU) + sum(zS_nWnU)
ps_bayes/100000
zW = rand(1,100000) < PW;
zU = rand(1,100000) < PU;
zT = rand(1,100000) < PT;
zS_WU = rand(1,100000) < PS_WU;
zS_WnU = rand(1,100000) < PS_WnU;
zS_nWU = rand(1,100000) < PS_nWU;
zS_nWnU = rand(1,100000) < PS_nWnU;
sum(zW.*zS_WU + zU.*zWU).*zS_WU) + sum(zW.*zS_WnU + (1-zU).*zS_WnU) + sum((1-zW).*zS_nWU + zU.*zS_nWU) + sum((1-zW).*zS_nWnU + (1-zU).*zS_nWnU)
zW = rand(1,100000) < PW;
zU = rand(1,100000) < PU;
zT = rand(1,100000) < PT;
zS_WU = rand(1,100000) < PS_WU;
zS_WnU = rand(1,100000) < PS_WnU;
zS_nWU = rand(1,100000) < PS_nWU;
zS_nWnU = rand(1,100000) < PS_nWnU;
sum(zW.*zS_WU + zU.*zWU) + sum(zW.*zS_WnU + (1-zU).*zS_WnU) + sum((1-zW).*zS_nWU + zU.*zS_nWU) + sum((1-zW).*zS_nWnU + (1-zU).*zS_nWnU)
zW = rand(1,100000) < PW;
zU = rand(1,100000) < PU;
zT = rand(1,100000) < PT;
zS_WU = rand(1,100000) < PS_WU;
zS_WnU = rand(1,100000) < PS_WnU;
zS_nWU = rand(1,100000) < PS_nWU;
zS_nWnU = rand(1,100000) < PS_nWnU;
sum(zW.*zS_WU + zU.*zS?WU) + sum(zW.*zS_WnU + (1-zU).*zS_WnU) + sum((1-zW).*zS_nWU + zU.*zS_nWU) + sum((1-zW).*zS_nWnU + (1-zU).*zS_nWnU)
zW = rand(1,100000) < PW;
zU = rand(1,100000) < PU;
zT = rand(1,100000) < PT;
zS_WU = rand(1,100000) < PS_WU;
zS_WnU = rand(1,100000) < PS_WnU;
zS_nWU = rand(1,100000) < PS_nWU;
zS_nWnU = rand(1,100000) < PS_nWnU;
sum(zW.*zS_WU + zU.*zS_WU) + sum(zW.*zS_WnU + (1-zU).*zS_WnU) + sum((1-zW).*zS_nWU + zU.*zS_nWU) + sum((1-zW).*zS_nWnU + (1-zU).*zS_nWnU)
sum(zW.*zS_WU + zU.*zS_WU) + sum(zW.*zS_WnU + (1-zU).*zS_WnU) + sum((1-zW).*zS_nWU + zU.*zS_nWU) + sum((1-zW).*zS_nWnU + (1-zU).*zS_nWnU)/100000
zW = rand(1,100000) < PW;
zU = rand(1,100000) < PU;
zT = rand(1,100000) < PT;
zS_WU = rand(1,100000) < PS_WU;
zS_WnU = rand(1,100000) < PS_WnU;
zS_nWU = rand(1,100000) < PS_nWU;
zS_nWnU = rand(1,100000) < PS_nWnU;
sum(zW.*zS_WU.*zU) + sum(zW.*zS_WnU.*(1-zU)) + sum((1-zW).*zS_nWU.*zU) + sum((1-zW).*zS_nWnU.*(1-zU))
sum(zW.*zS_WU.*zU) + sum(zW.*zS_WnU.*(1-zU)) + sum((1-zW).*zS_nWU.*zU) + sum((1-zW).*zS_nWnU.*(1-zU))/100000
ans/100000
sum(zW.*zS_WU.*zU) + sum(zW.*zS_WnU.*(1-zU)) + sum((1-zW).*zS_nWU.*zU) + sum((1-zW).*zS_nWnU.*(1-zU))/100000
sum(zW.*zS_WU.*zU) + sum(zW.*zS_WnU.*(1-zU)) + sum((1-zW).*zS_nWU.*zU) + sum((1-zW).*zS_nWnU.*(1-zU))
ans/100000
PZ_SnA = 0.40;
zW = rand(1,100000) < PW;
zU = rand(1,100000) < PU;
zT = rand(1,100000) < PT;
zS_WU = rand(1,100000) < PS_WU;
zS_WnU = rand(1,100000) < PS_WnU;
zS_nWU = rand(1,100000) < PS_nWU;
zS_nWnU = rand(1,100000) < PS_nWnU;
zA_T = rand(1,100000) < PA_T;
zA_nT = rand(1,100000) < PA_nT;
zZ_SA = rand(1,100000) < PZ_SA;
zZ_nSA = rand(1,100000) < PZ_nSA;
zZ_SnA = rand(1,100000) < PZ_SnA;
zZ_nSnA = rand(1,100000) < PZ_nSnA;
zA = zT.*zA_T + zA_nT.*(1-zT)
zS = zW.*zS_WU.*zU + zW.*zS_WnU.*(1-zU) + (1-zW).*zS_nWU.*zU + (1-zW).*zS_nWnU.*(1-zU)
zZ = (zS.*zZ_SA.*zA + zW.*zZ_SnA.*(1-zA) + (1-zS).*zZ_nSA.*zA + (1-zA).*zZ_nSnA.*(1-zA)
zZ_U = zZ.*zU
zW = rand(1,100000) < PW;
zU = rand(1,100000) < PU;
zT = rand(1,100000) < PT;
zS_WU = rand(1,100000) < PS_WU;
zS_WnU = rand(1,100000) < PS_WnU;
zS_nWU = rand(1,100000) < PS_nWU;
zS_nWnU = rand(1,100000) < PS_nWnU;
zA_T = rand(1,100000) < PA_T;
zA_nT = rand(1,100000) < PA_nT;
zZ_SA = rand(1,100000) < PZ_SA;
zZ_nSA = rand(1,100000) < PZ_nSA;
zZ_SnA = rand(1,100000) < PZ_SnA;
zZ_nSnA = rand(1,100000) < PZ_nSnA;
zA = zT.*zA_T + zA_nT.*(1-zT);
zS = zW.*zS_WU.*zU + zW.*zS_WnU.*(1-zU) + (1-zW).*zS_nWU.*zU + (1-zW).*zS_nWnU.*(1-zU);
zZ = (zS.*zZ_SA.*zA + zW.*zZ_SnA.*(1-zA) + (1-zS).*zZ_nSA.*zA + (1-zA).*zZ_nSnA.*(1-zA);
zZ_U = zZ.*zU;
zW = rand(1,100000) < PW;
zU = rand(1,100000) < PU;
zT = rand(1,100000) < PT;
zS_WU = rand(1,100000) < PS_WU;
zS_WnU = rand(1,100000) < PS_WnU;
zS_nWU = rand(1,100000) < PS_nWU;
zS_nWnU = rand(1,100000) < PS_nWnU;
zA_T = rand(1,100000) < PA_T;
zA_nT = rand(1,100000) < PA_nT;
zZ_SA = rand(1,100000) < PZ_SA;
zZ_nSA = rand(1,100000) < PZ_nSA;
zZ_SnA = rand(1,100000) < PZ_SnA;
zZ_nSnA = rand(1,100000) < PZ_nSnA;
zA = zT.*zA_T + zA_nT.*(1-zT);
zS = zW.*zS_WU.*zU + zW.*zS_WnU.*(1-zU) + (1-zW).*zS_nWU.*zU + (1-zW).*zS_nWnU.*(1-zU);
zZ = zS.*zZ_SA.*zA + zW.*zZ_SnA.*(1-zA) + (1-zS).*zZ_nSA.*zA + (1-zA).*zZ_nSnA.*(1-zA);
zZ_U = zZ.*zU;
sum(zZ_U)
ans/100000
zZ_UT = ZZ.*zU.*zT
zZ_UT = zZ.*zU.*zT
sum (zZ_UT)
ans / 100000
zW = rand(1,100000) < PW;
zU = rand(1,100000) < PU;
zT = rand(1,100000) < PT;
zS_WU = rand(1,100000) < PS_WU;
zS_WnU = rand(1,100000) < PS_WnU;
zS_nWU = rand(1,100000) < PS_nWU;
zS_nWnU = rand(1,100000) < PS_nWnU;
zA_T = rand(1,100000) < PA_T;
zA_nT = rand(1,100000) < PA_nT;
zZ_SA = rand(1,100000) < PZ_SA;
zZ_nSA = rand(1,100000) < PZ_nSA;
zZ_SnA = rand(1,100000) < PZ_SnA;
zZ_nSnA = rand(1,100000) < PZ_nSnA;
zA = zT.*zA_T + zA_nT.*(1-zT);
zS = zW.*zS_WU.*zU + zW.*zS_WnU.*(1-zU) + (1-zW).*zS_nWU.*zU + (1-zW).*zS_nWnU.*(1-zU);
zZ = zS.*zZ_SA.*zA + zW.*zZ_SnA.*(1-zA) + (1-zS).*zZ_nSA.*zA + (1-zA).*zZ_nSnA.*(1-zA);
ilZ = sum(zZ)
ilU = sum(zU)
ilU/ilZ
ilZ/ilU
sum(zZ_U)
pZU = ans/100000
pZ = ilZ/100000
pZU/pZ
zW = rand(1,100000) < PW;
zU = rand(1,100000) < PU;
zT = rand(1,100000) < PT;
zS_WU = rand(1,100000) < PS_WU;
zS_WnU = rand(1,100000) < PS_WnU;
zS_nWU = rand(1,100000) < PS_nWU;
zS_nWnU = rand(1,100000) < PS_nWnU;
zA_T = rand(1,100000) < PA_T;
zA_nT = rand(1,100000) < PA_nT;
zZ_SA = rand(1,100000) < PZ_SA;
zZ_nSA = rand(1,100000) < PZ_nSA;
zZ_SnA = rand(1,100000) < PZ_SnA;
zZ_nSnA = rand(1,100000) < PZ_nSnA;
zA = zT.*zA_T + zA_nT.*(1-zT);
zS = zW.*zS_WU.*zU + zW.*zS_WnU.*(1-zU) + (1-zW).*zS_nWU.*zU + (1-zW).*zS_nWnU.*(1-zU);
zZ = zS.*zZ_SA.*zA + zW.*zZ_SnA.*(1-zA) + (1-zS).*zZ_nSA.*zA + (1-zA).*zZ_nSnA.*(1-zA);
zZ_U = zZ.*zU
ilZU = sum(zZ_U)
ilZ = sum(zZ)
pZU = ilZU/100000
pzZ = ilZ/100000
pZU/pZZ
pZU/pzZ
%-- 4/21/07 11:40 AM --%
cd D:\Studenci\Sidzi\
help/techdoc/ref/addpath.html">addpath 'D:\studenci\Sidzi\scheduling\'
help/techdoc/ref/addpath.html">addpath 'D:\studenci\sidzi\grTheory\'
help/techdoc/ref/addpath.html">addpath 'D:\studenci\Sidzi\scheduling\'
t1=task('t1',5,2,10,2)
help/techdoc/ref/plot.html">plot(t1)
t1=task('t1',5,2,help/techdoc/ref/Inf.html">INF,2)
t1=task('t1',5,2,help/techdoc/ref/Inf.html">inf,2)
t1=task('t1',2,2,help/techdoc/ref/Inf.html">inf,2)
t2=task('t2',3,0,help/techdoc/ref/Inf.html">inf,3)
t3=task('t3',4,3,help/techdoc/ref/Inf.html">inf,4)
t4=task('t4',2,0,help/techdoc/ref/Inf.html">inf,5)
T=taskset(t1,t2,y3,t4)
T=taskset(t1,t2,t3,t4)
T=taskset{[t1,t2,t3,t4]}
T=taskset([t1,t2,t3,t4])
help/techdoc/ref/plot.html">plot(T)
T.procTime
T.proctime
T.proctime[1]=1
T.proctime(1)=1
T.procTime(1)=1
help/techdoc/ref/addpath.html">addpath 'D:\studenci\Sidzi\scheduling\'
help/techdoc/ref/addpath.html">addpath 'D:\studenci\sidzi\grTheory\'
T.procTime(1)=1
T.ProcTime(1)=1
p=problem('P|rj|Cmax')
h=listsch(T,p,2)
help/techdoc/ref/plot.html">plot(T)
T2=T
st_t=[3 0 3 0]
pr_t=[1 3 4 2]
pr=[2 2 1 1]
add_schedule(T2,'uszeregowanie niepodzielne',st_t,pr_t,pr);plot(T2)
help/techdoc/ref/plot.html">plot(T)
help/techdoc/ref/plot.html">plot(T2)
Tprec=taskset([t1 t2 t3], [0 1 0; 0 0 1; 0 0 0])
help/techdoc/ref/plot.html">plot(Tprec)
Tprec=taskset([t1 t2 t3], [0 1 0; 0 0 1; 1 0 0])
help/techdoc/ref/plot.html">plot(Tprec)
Tprec=taskset([t1 t2 t3], [0 1 0; 0 0 1; 0 0 0])
Tprec=taskset([t1 t2 t3], [0 1 0; 1 0 1; 0 0 0])
help/techdoc/ref/plot.html">plot(Tprec)
Tprec=taskset([t1 t2 t3], [0 1 0; 0 0 1; 0 0 0])
help/techdoc/ref/plot.html">plot(Tprec)
st_t={[2] [0 3] [3] [0]}
pr_t={[1] [2 1] [4] [2]}
pr=[ 2 2 1 1]
add_schedule(T2,'uszeregowanie podzielne',st_t,pr_t,pr); help/techdoc/ref/plot.html">plot(T2)
graphedit
taskset ?
help taskset
T3 = taskset(g1)
help/techdoc/ref/plot.html">plot(T3)
clear
cls
clean
clrscr
help screen
pj=[2 2 3 1 4 5 2 1 2 3]
rj=[0 1 3 4 5 0 2 3 4 5]
dj=[5 4 6 5 3 6 3 4 5 8]
p=problem('P2|rj|Cmax');
help taskset
graphedit
t1=task('t1'2,0,help/techdoc/ref/Inf.html">inf,5)
t1=task('t1',2,0,help/techdoc/ref/Inf.html">inf,5)
t2=task('t2',2,1,help/techdoc/ref/Inf.html">inf,4)
t3=task('t3',3,3,help/techdoc/ref/Inf.html">inf,6)
t4=task('t4',1,5,help/techdoc/ref/Inf.html">inf,3)
t5=task('t5',4,0,help/techdoc/ref/Inf.html">inf,6)
t6=task('t6',5,2,help/techdoc/ref/Inf.html">inf,3)
pj=[2 2 3 1 4 5 2 1 2 3] rj=[0 1 3 4 5 0 2 3 4 5] dj=[5 4 6 5 3 6 3 4 5 8]
pj=[2 2 3 1 4 5 2 1 2 3]; rj=[0 1 3 4 5 0 2 3 4 5]; dj=[5 4 6 5 3 6 3 4 5 8]
m={pj,rj,dj}
m
m(,1)
m(1,1)
m=[pj,rj,dj]
pj={2,2,3,1,4,5,2,1,2,3} rj={0,1,3,4,5,0,2,3,4,5} dj={5,4,6,5,3,6,3,4,5,8}
pj={2,2,3,1,4,5,2,1,2,3}; rj={0,1,3,4,5,0,2,3,4,5}; dj={5,4,6,5,3,6,3,4,5,8}
m={pj,rj,dj}
m
m(0,0)
m(1,1)
m={pj rj dj}
t1=task(2,0,help/techdoc/ref/Inf.html">inf,5)
t2=task(2,1,help/techdoc/ref/Inf.html">inf,4)
t3=task(3,3,help/techdoc/ref/Inf.html">inf,6)
t3=task(1,4,help/techdoc/ref/Inf.html">inf,5)
t3=task(4,5,help/techdoc/ref/Inf.html">inf,3)
t3=task(5,0,help/techdoc/ref/Inf.html">inf,6)
t3=task(2,2,help/techdoc/ref/Inf.html">inf,3)
t3=task(1,3,help/techdoc/ref/Inf.html">inf,4)
t4=task(1,4,help/techdoc/ref/Inf.html">inf,5);
t5=task(4,5,help/techdoc/ref/Inf.html">inf,3);
t6=task(5,0,help/techdoc/ref/Inf.html">inf,6);
t7=task(2,2,help/techdoc/ref/Inf.html">inf,3);
t8=task(1,3,help/techdoc/ref/Inf.html">inf,4);
t9=task(2,4,help/techdoc/ref/Inf.html">inf,5);
t10=task(3,5,help/techdoc/ref/Inf.html">inf,8);
T=taskset(t1,t2,t3,t4,t5,t6,t7,t8,t9,t10);h=listsch(T,p,2)
T=taskset([t1,t2,t3,t4,t5,t6,t7,t8,t9,t10]);h=listsch(T,p,2)
help/techdoc/ref/plot.html">plot(T)
help/techdoc/ref/plot.html">plot(h)
help listsch
h=listsch(T,p,2,'LPT')
help/techdoc/ref/plot.html">plot(h)
p2=problem('1|rj,pmtn|Lmax')
help horn
h2=horn(T,p2);
help/techdoc/ref/plot.html">plot(h2)
pj=[3 2 1 1], rj=[0 0 2 1], dj=[4 4 3 2]
t11=task(3,0,help/techdoc/ref/Inf.html">inf,4),
t12=task(2,0,help/techdoc/ref/Inf.html">inf,4),
t13=task(1,2,help/techdoc/ref/Inf.html">inf,3),
t14=task(1,1,help/techdoc/ref/Inf.html">inf,2),
st_t={[0 3] [0 2] [2] [1]}
pr_t={[2 1] [1 1] [1] [1]}
pr=[ 1 2 1 2]
add_schedule(T2,'uszeregowanie podzielne',st_t,pr_t,pr)
T2=taskset([t11 t12 t13 t14])
add_schedule(T2,'uszeregowanie podzielne',st_t,pr_t,pr)
help/techdoc/ref/plot.html">plot(T2)
graphedit
TX= taskset(g1)
help/techdoc/ref/plot.html">plot(TX)
graphedit
TX= taskset(g1)
help/techdoc/ref/plot.html">plot(TX)
TX= taskset(g1)
help/techdoc/ref/plot.html">plot(TX)
p3=problem('1|in-tree,pj=1|Lmax')
help brooker
help brucker
h3=brucker76(TX,p3)
h3=brucker76(TX,p3,1)
p3=problem('P|in-tree,pj=1|Lmax')
h3=brucker76(TX,p3,1)
help/techdoc/ref/plot.html">plot(h3)
%-- 4/21/07  2:08 PM --%
addpath 'D:\studenci\szefka\scheduling\'
addpath 'D:\studenci\szefka\grTheory\'
t1=task('t1',5,2,10,2)
Task "t1"
Processing time: 5
Release time:    2
Deadline:        10
Due date:        2
t1=task('t1',5,2,10,2)
plot(t1)
set(t1,'DueDate',3)
plot(t1)
cd d:\
path
t1=task('t1',2,2,inf,2)
t2=task('t2',3,0,inf,3)
t3=task('t3',4,3,inf,4)
t4=task('t4',2,0,inf,5)
T=taskset([t1 t2 t3 t4])
plot(T)
T.ProcTime
T.ProcTime(1)
T.ProcTime(1)=1
T.ProcTime
p=problem('P|rj|Cmax')
h=listsch(T,p,2)
plot(h)
T2=T
st_t=[3 0 3 0]
pr_t=[1 3 4 2]
pr=[2 2 1 1]
add_schedule(T2,'uszeregowanie niepodzielne',st_t,pr_t,pr)
plot(T2)
st_t={[2] [0 3] [3] [0]}
pr_t={[1] [2 1] [4] [2]}
pr=[ 2 2 1 1]
add_schedule(T2,'uszeregowanie podzielne',st_t,pr_t,pr)
plot(T2)
Tprec=taskset([t1 t2 t3], [0 1 0; 0 0 1; 0 0 0])
graphedit
x=taskset(g)
plot(x)
tt1=task('tt1',2,0,inf,5)
tt2=task('tt2',2,1,inf,4)
tt3=task('tt3',3,3,inf,6)
tt3=task('tt3',1,4,inf,5)
tt4=task('tt4',4,5,inf,3)
tt3=task('tt4',1,4,inf,5)
tt3=task('tt5',1,4,inf,5)
tt3=task('tt5',4,5,inf,3)
tt3=task('tt6',5,0,inf,6)
tt7=task('tt7',2,2,inf,3)
tt6=task('tt6',5,0,inf,6)
tt5=task('tt5',4,5,inf,3)
tt4=task('tt4',1,4,inf,5)
tt8=task('tt8',1,3,inf,4)
tt9=task('tt9',2,4,inf,5)
tt10=task('tt10',3,5,inf,8)
TT=taskset([tt1 tt2 tt3 tt4 tt5 tt6 tt7 tt8 tt9 tt10 ])
plot(TT)
pp=problem('P|rj|Cmax')
hh=listsch(TT,pp,2)
hh=listsch(TT,pp,2,LPT)
hh=listsch(TT,pp,2,'LPT')
plot(hh)
plot(TT)
hh=listsch(TT,pp,2,'LPT')
plot(hh)
plot(TT)
tt3=task('tt3',3,3,inf,6)
plot(TT)
TT=taskset([tt1 tt2 tt3 tt4 tt5 tt6 tt7 tt8 tt9 tt10 ])
plot(TT)
hh=listsch(TT,pp,2,'LPT')
plot(hh)
pp2=problem('1|rj,pmtn|Lmax')
hh2=listsch(TT,pp2,2,'LPT')
hh2=listsch(TT,pp2,2)
pp2=problem('1|rj,pmtn|Lmax')
plot(pp2)
hh2=listsch(TT,pp2,2)
plot(hh)
hh2=horn(TT,pp2,2)
hh2=horn(TT,pp2)
plot(hh2)
ttt1=task('ttt1',3,0,inf,4)
ttt2=task('ttt2',2,0,inf,4)
ttt3=task('ttt3',1,2,inf,3)
ttt4=task('ttt4',1,1,inf,2)
TTT=taskset([ttt1 ttt2 ttt3 ttt4])
plot(TTT)
TTT.ProcTime
ppp=problem('P|rj|Cmax')
hhh=listsch(TTT,ppp,2,'LPT')
plot(hhh)
TTT2=TTT
st_t={[0 3] [0 2] [2] [1]}
plot(hhh)
plot(h)
plot(hhh)
pr_t={[2 1] [1 1] [1] [1]}
pr=[1 2 1 2]
add_schedule(TTT2,'uszeregowanie podzielne',st_t,pr_t,pr)
plot(TTT2)
graphedit
taskset(g)
TTTT=taskset(g)
pppp=problem('P|pj=1,in-tree|Lmax')
hhhh=brucker
hhhh=brucker(TTTT,pppp)
hhhh=brucker76(TTTT,pppp)
hhhh=brucker76(TTTT,pppp,1)
plot(hhhh)
TTTT=taskset(g)
pppp=problem('P|pj=1,in-tree|Lmax')
hhhh=brucker76(TTTT,pppp,1)
plot(hhhh)
%-- 4/21/07  5:27 PM --%
d:\studenci\po
cd d:\studenci\po
addpath 'D:\studenci\po\grTheory\
addpath 'D:\studenci\po\grTheory\'
addpath 'D:\studenci\po\scheduling\'
addpath 'D:\studenci\po\torsche-0_3_ob1\scheduling\'
addpath 'D:\studenci\po\torsche-0_3_Ob1\scheduling\'
addpath 'D:\studenci\po\scheduling\'
t1=task('t1',5,2,10,2)
plot(t1)
plot(t1
t1=task('t1',2,3,4,2)
t2=('t2',2,0,3,0)
t2=task('t2',2,0,3,0)
t1=task('t1',2,2,2)
t2=task('t2',3,0,3)
t3=task('t3',4,3,4)
t1=task('t1',2,2,inf,2)
t3=task('t3',4,3,int,4)
t3=task('t3',4,3,inf,4)
t2=task('t2',3,0,inf,3)
t4=task('t4',2,0,inf,5)
t=taskset{[t1 t2 t3 t4]}
T=taskset{[t1 t2 t3 t4]}
T=taskset([t1 t2 t3 t4])
plot(T)
T.ProcTime
T.ProcTime(1)=1
T.ProcTime
h=listsch(T,p,2)
p=problem('P|rj|Cmax'')
p=problem('P|rj|Cmax')
h=listsch(T,p,2)
plot(T)
plot(h)
plot(T)
plot(h)
plot(T)
T2=T
st_t=[3 0 3 0]
pr_t =
pr_t =[1 3 4 2
]
pr=[2 2 1 1]
add_schedule(T2,'uszeregowanie niepodzielne',st_t,pr_t,pr)
plot(T2)
st_t=([2] [0 3] p3] p0]]
st_t=([2] [0 3] p3] p0])
st_t=([2] [0 3] [3] [0])
st_t=[[2] [0 3] [3] [0]]
st_t=([2] [0 3] [3] [0])
st_t={[2] [0 3] [3] [0]}
pr_t={[1] [2 1] [4] [2]}
pr={2 2 1 1}
add_schedule(T2'uszeregowanie podzielne',st_t,pr_t,pr)
add_schedule(T2,'uszeregowanie podzielne',st_t,pr_t,pr)
plot(T2)
st_t={[2] [0 3] [3] [0]}
pr_t={[1] [2 1] [4] [2]}
pr={2 2 1 1}
pr=[2 2 1 1]
add_schedule(T2,'uszeregowanie podzielne',st_t,pr_t,pr)
plot(T2)
t1=Task('t1',2,0,inf,5)
t2=Task('t2',2,1,inf,4)
t3=Task('t3',3,3,inf,6)
t4=Task('t4',1,4,inf,5)
t5=Task('t5',4,5,inf,3)
t6=Task('t6',5,0,inf,6)
t7=Task('t7',2,2,inf,3)
t8=Task('t8',1,3,inf,4)
t9=Task('t9',2,4,inf,5)
t10=Task('t10',3,5,inf,8)
T=taskset([t1 t2 t3 t4 t5 t6 t7 t8 t9 t10)
T=taskset([t1 t2 t3 t4 t5 t6 t7 t8 t9 t10])
p=problem(P2|rj|Cmax)
p=problem('P2|rj|Cmax')
h=listsch(T,p,2,LPT)
h=listsch(T,p,2,'LPT')
plot(h)
p=problem('1|rj,pmtn|Lmax')
h=listsch(T,p,2,'LPT')
h=listsch(T,p,2)
p=problem('1|rj,pmtn|Lmax')
h=listsch(T,p,2)
h=listsch(T,p,1)
pp=problem('1|rj,pmnt|Lmax')
h=porn(T,p,2)
h=horn(T,p,2)
p=problem('1|rj,pmnt|Lmax')
pp=problem('1|rj,pmtn|Lmax'
pp=problem('1|rj,pmtn|Lmax')
h=horn(T,pp,2)
h=horn(T,pp)
plot(h)
t1=task('t1',3,0,inf,4)
t2=task('t2',2,0,inf,4)
t3=task('t3',1,2,inf,3)
t4=task('t4',1,1,inf,2)
T=taskset([t1 t2 t3 t4])
plot(T)
plot(1)
plot(1\T)
plot(T)
st_t=[[0 3] [0 2] [2] [1]]
st_t=[[1x2 double] [1x2 double] [2] [1]]
st_t{[0 3] [0 2] [2] [1]}
st_t={[0 3] [0 2] [2] [1]}
pt_t={[2 4] [1 3] [1] [3]}
pr={3 2 1 2}
pr=[3 2 1 2]
add_schedule(T,'aaaa',st_t,pr_t,pr)
plot(T)
st_t={[2 4] [1 3] [1] [3]}
pt_t={[0 3] [0 2] [2] [1]}
add_schedule(T,'aaaa',st_t,pr_t,pr)
plot(T)
%-- 4/24/07 10:30 AM --%
 
parkster
fuzzy
park1
parkster
'
parkster
%-- 4/26/07 12:24 PM --%
 
fuzzy
parkster
%-- 4/26/07 12:36 PM --%
 
fuzzy
parkster
fuzzy
parkster
%-- 4/27/07  3:24 PM --%
 
wyzarz_tsp
help help/techdoc/ref/randn.html">randn
wyzarz_tsp
help help/techdoc/ref/randn.html">randn
wyzarz_tsp
%-- 5/08/07 10:29 AM --%
wahadlo
wahadlo.m
fuzzy
wiz_wahadlo tst
fuzzy tst
wojtek/parkster
cd wojtek
parkster
cd..
cd parklab
parkster
cd wojtek
fuzzy tst
wiz_wahadlo tst
%-- 5/15/07 10:27 AM --%
 
tansig
clr
clear
tansing(9)
tansig(9)
logsig(67)
purelin(67)
hardlin(67)
hardlim(67)
a=[-5,5]
plot a
n=-5:0.1:5
plot n
n=-5:0.1:5
tansig(n)
plot
tansig(n)
plot hardlim
plot(hardlim(n))
plot(hardlim(n),purelin(n))
plot(hardlim(n),purelin(n),tansig(n))
plot(tansig(n))
plot(n,tansig(n))
plot(n,tansig(n),n,logsig(n),n,pureline(n),n,hardlim(n))
plot(n,tansig(n),n,logsig(n),n,purelin(n),n,hardlim(n))
net= newff([o 10;0 10],[5 1],{'tansig','purelin'});
net= newff([0 10;0 10],[5 1],{'tansig','purelin'});
net=init(net)
net.IW{n,n}=78
net.IW{n,n}
net=init(net)
net=newp[-2 2; -2 2],1,'logsig');
net=newp[-2 2 ; -2 2], 1 ,'logsig');
net=newp[-2 2 ; -2 2], 1 ,'logsig')
net=newp([-2 2 ; -2 2], 1 ,'logsig');
net.IW{1,1}=[1,-1]
net.b{1}=-1
sim(net , [])
net.IW{1,1}=[1,1]
net.b{1}=-1
[X Y]=meshgrid(-2:0.1:2);
Z=X
Z(:)=som(net,[X(:)';Y(:)']);
Z(:)=sim(net,[X(:)';Y(:)']);
surf(X,Y,Z)
net=newp[0 1; 0 1],1,'logsig');
net=newp([0 1; 0 1],1,'hardlim');
[X Y]=meshgrid(0:0.1:1);
Z=X
surf(X,Y,Z)
net=newp([0 1; 0 1],1,'hardlim');
net.IW{1,1}=[1,1]
net.b{1}=-1
[X Y]=meshgrid(0:0.1:1);
Z=X
Z(:)=sim(net,[X(:)';Y(:)']);
surf(X,Y,Z)
net.b{1}=6
[X Y]=meshgrid(0:0.1:1);
Z=X
Z(:)=sim(net,[X(:)';Y(:)']);
surf(X,Y,Z)
net.b{1}=-1
[X Y]=meshgrid(0:0.1:1);
Z=X
Z(:)=sim(net,[X(:)';Y(:)']);
surf(X,Y,Z)
net.IW{1,1}=[0.5,0.5]
net.b{1}=1
[X Y]=meshgrid(0:0.1:1);
Z=X
Z(:)=sim(net,[X(:)';Y(:)']);
surf(X,Y,Z)
net.IW{1,1}=[0,1]
net.b{1}=1
[X Y]=meshgrid(0:0.1:1);
Z=X
Z(:)=sim(net,[X(:)';Y(:)']);
surf(X,Y,Z)
net.IW{1,1}=[1,1]
net.b{1}=1
[X Y]=meshgrid(0:0.1:1);
Z=X
Z(:)=sim(net,[X(:)';Y(:)']);
surf(X,Y,Z)
net.IW{1,1}=[1,1]
net.IW{1,1}=[0,1]
net.b{1}=1
[X Y]=meshgrid(0:0.1:1);
Z=X
Z(:)=sim(net,[X(:)';Y(:)']);
surf(X,Y,Z)
net.IW{1,1}=[0.5,0.5]
net.b{1}=-1
[
X Y]=meshgrid(0:0.1:1);
Z=X
Z(:)=sim(net,[X(:)';Y(:)']);
s
surf(X,Y,Z)
net
%-- 5/17/07 11:48 AM --%
 
cd d:\Studenci\domi\
dir
rozp_obrazow
rozp_znakow
%-- 5/19/07 12:08 PM --%
 
d:
cd d:
cd studenci\
cd dawidl
dir
ls
addpath D:\studenci\dawidl\scheduling\
addpath D:\studenci\dawidl\grTheory\
graphedit
[ng v]=min_cost_flow(g)
graphedit(ng)
graphedit
[ng v]=min_cost_flow(g)
graphedit(ng)
%-- 5/19/07  4:06 PM --%
 
open('C:\Users\student\Desktop\dupa.fig')
[ng v]=min_cost_flow(g2)
graphedit(g2)
[ng v]=min_cost_flow(g2)
graphedit
addpath D:\studenci\dawidl\grTheory\
addpath D:\studenci\dawidl\scheduling\
graphedit
[ng v]=min_cost_flow(g2)
graphedit(g2)
graphedit(ng)
%-- 5/19/07  4:34 PM --%
 
help/techdoc/ref/addpath.html">addpath 'D:\studenci\dawidl\scheduling\'
help/techdoc/ref/addpath.html">addpath 'D:\studenci\dawidl\grTheory\'
pj = [2 2 3 1 4 5 2 1 2 3]
rj = [ 0 1 3 4 5 0 2 3 4 5]
dj = [5 4 6 5 3 6 3 4 5 8]
T= taskset(pj,rj,dj,prec)
p= problem('p2|rj|Cmax')
S= listsch(T,p,2,'LPT')
help/techdoc/ref/plot.html">plot(S)
pj = [2 2 3 1 4 5 2 1 2 3]
rj = [ 0 1 3 4 5 0 2 3 4 5]
dj = [5 4 6 5 3 6 3 4 5 8]
prec=help/techdoc/ref/zeros.html">zeros(10,10)
T= taskset(pj,rj,dj,prec)
p= problem('p2|rj|Cmax')
S= listsch(T,p,2,'LPT')
help/techdoc/ref/plot.html">plot(S)
T
help/techdoc/ref/plot.html">plot(T)
help taskset
help/techdoc/ref/plot.html">plot(T)
help/techdoc/ref/plot.html">plot(S)
pj = [2 2 3 1 4 5 2 1 2 3]
rj = [ 0 1 3 4 5 0 2 3 4 5]
dj = [5 4 6 5 3 6 3 4 5 8]
prec = help/techdoc/ref/zeros.html">zeros(10,10)
T= taskset(pj,rj,dj,prec)
p= problem('1|rj,pmtn|Lmax')
S = horn(T,p)
help/techdoc/ref/plot.html">plot(S)
T= taskset([1 1 1 1])
st_t={[0 3 ] [0 2] [2] [1]}
pr_t={[2 1] [1 1] [1] [1]}
pr=[1 2 1 2]
add_schedule(T,'nazwa',st_t,pr_t,pr)
help/techdoc/ref/plot.html">plot(T)
pj = help/techdoc/ref/ones.html">ones(1,12)
rj = help/techdoc/ref/zeros.html">zeros(1,12)
dj = [4 6 4 2 3 1 5 3 1 6 3 7]
prec = [0 0 0 0 0 0 1 0 0 0 0 0
0 0 0 0 0 0 1 0 0 0 0 0
0 0 0 0 0 0 0 1 0 0 0 0
0 0 0 0 0 0 0 0 1 0 0 0
0 0 0 0 0 0 0 0 0 1 0 0
0 0 0 0 0 0 0 0 0 0 1 0
0 0 0 0 0 0 0 0 0 0 0 1
0 0 0 0 0 0 0 0 0 0 0 0]
T = taskset(pj,rj,dj,prec)
p = problem('p|in-tree,pj=1|Lmax')
S = brucker76(T,p,2)
help/techdoc/ref/plot.html">plot(S)
%-- 5/19/07  7:10 PM --%
 
graphedit(ng)
help help/techdoc/ref/max.html">max
%-- 5/29/07 10:22 AM --%
 
go
pow
%-- 6/03/07  2:22 PM --%
pwd
ls
2 + 2 * 2
14 - 7 * 1.3845
4 - 4,378 + 9 * 2,769
4 - 4.378 + 9 * 2.769
3 * 4.378 + 9 * 2.769
clear
>
x = [3 5]
clear
x = [[1 2] [3 4]]
x
x = [1 2] [3 4]
clear
f = [3;9]
A = -2 -7;-10 -2.5;5 4
A = -2 -7 ; -10 -2.5 ; 5 4
A = [-2 -7 ; -10 -2.5 ; 5 4]
b = [-28;-50;60]
Aeq=[]
beq=[]
[x,fval] = linprog(f,A,b,Aeq,beq)
ls
help help/techdoc/ref/hist.html">hist
[x,fval] = linprog(f,A,b,Aeq,beq)
ls
//drugie
f = [100;50;200]
A = [14 0 -4;2 4 -2;-5 5 -5;2 2 -3]
b = [0;0;0;0]
Aeq=[1 1 1]
beq = [3000]
[x,fval] = linprog(f,A,b,Aeq,beq)
[x,fval,exitflag,output,lambda] = linprog(f,A,b,Aeq,beq)
x
Aeq
beq
help/techdoc/ref/sum.html">sum(x)
help format
format short
help/techdoc/ref/sum.html">sum(x)
format long
help/techdoc/ref/sum.html">sum(x)
help format
format help/techdoc/ref/rat.html">rat
help/techdoc/ref/sum.html">sum(x)
f
b
lamba
lambda
| pompy ciepła Wejherowo | | Sklepy internetowe | | sklep z bielizną | | seksowne majtki | | Skracacz linków | | Blog o książkach | | Kody programów | | Skracacz adresów | | Darmowe Ebooki |