Title: 3'4 BVP Matlab 6'X
13.4 ??????BVP ?????? ???? ???? ?Matlab 6.X
- ?????? ????? ?? ??????? ???????????? ?? ??? ????
???? - ??????? ?bvp4c-solvers
- bvp4c-solvers ???? ?? ??????????? ?? ?????
??????? ???????????? ???? ???? ????? - yf(x,y)
- ????? a,b ?????? ????
- bc(y(a),y(b))0
23.4 ?????? BVP ?????? ???? ???? ?Matlab 6.X
(????2)
- ?????? ????? ?? ??????? ???????????? ?? ??? ????
???? ??????? ?bvp4c-solvers - sol bvp4c(odefun,bcfun,solinit,options)
- ????
- odefun - ?? ?? ???? ????? ???????
???????????? - bcfun - ?? ?? ???? ????? ???? ????
- solinit - ????????? ?? ????? ????????
- options - ?????-???? ?? ?????? ??????????
- ??????? ???????????
- sol - ????????? ?? ?????? ??????
33.4 ?????? BVP ?????? ???? ???? ?Matlab 6.X
(????3)
- ?????? bvpinit ? bvpval or deval ?????? ? bvp4c
?????? ???????? ?????? ?? ?????? ?????? ?
sol-structure - solinit bvpinit(x,v)
- sxint bvpval(sol,xint)
- ????
- x - ????? ?? ??????x ?? initial mesh
- v - ????? ?? guess values ?? y
- sol - ????????? ?? ???? ?? x ?y
- xint - ????? x ????? ?????? ? sol (?? bvp4c)
- sxint- ?????? ????? ? sol (?? bvp4c) ???
?????? xint - ??? ?????? ?????? ?????? ??????????? ?? ????????
bvp4c , bvpinit ? bvpval ?? ??? ????
43.4 ?????? BVP ?????? ???? ???? ?Matlab 6.X
(????4)
- ?????
- ?????? ?????? ??????? ???? ???? ?????
- ????? ???? ????
53.4 ?????? BVP ?????? ???? ???? ?Matlab 6.X
(????5)
63.4 ?????? BVP ?????? ???? ???? ?Matlab 6.X
(????6)
- ?????
- ?? ???? ?? ??????? ?????? ???? initial
guess-values - -1, 0
- ?? ???? ???? ???????
74. ??????? ???????????? ??????? ?????? PDE
TOOLBOX
- ????? ?????? ???? ??
- 4.1 ???????? ??????? ?? PDE TOOLBOX
- 4.2 ????? ?? ??????? ???????????? ?????? ?????
?????? ?PDE - 4.3 ???? ????? ? PDE-TOOLBOX
- 4.4 ???????
84.1 ???????? ??????? ?? PDE TOOLBOX
- ?TOOLBOX ????? ?
- - ??????? ??????? ?? ??????? ????????????
?????? - ??-?????? ?? DIRICHLETNEUMANN ???? ????
- - ??????????? ????? ??????? ?? ?????
- ???? ????? ???
- ??????? ??????
94.2 ????? ?? ??????? ???????????? ?????? ?????
?????? ?PDE
???? ??????? ???????????? ?PDE TOOLBOX
104.2 ????? ?? ??????? ???????????? ?????? ?????
?????? ? PDE (????)
- ????? ?? ???? ???? ?PDE TOOLBOX
114.3 ???? ????? ? PDE-TOOLBOX
- ?? ???? ???? ????? (MODE) ???? ????? ?????
- draw mode
geometry definition - boundary condition mode specification
of
boundary conditions - PDE mode
selections of PDE
coefficients
that
define the problem - mesh mode
finite element
discretization - solve mode
specification of initial
conditions and
solution of the PDE - plot mode
post processing of the
solution
124.3 ???? ????? ? PDE-TOOLBOX Draw Mode
- ????? pdetool ????? ????? - Toolbox PDE
134.3 ???? ????? ? PDE-TOOLBOX Draw Mode (????)
- ???? ???? ????? ?????? ???? ??-????? ?2U0
- ???? ???? 1x3 (??-????)
- ?Options ?????? ?Grid, Snap ???? ?? ?
- Axes Limits ??????? ?????? ????
144.3 ???? ????? ? PDE-TOOLBOX Draw Mode (????2)
- ?Draw ?????? rectangle/square , ????? ????
??????? ?? ???? ?????? 3,1 ?? ????? 0,0
???????????
154.3 ???? ????? ? PDE-TOOLBOX Draw Mode (????4)
- ???? ????? ????? ???? ???? ??????? ???? Object
Dialog ???? ????? ????????????
164.3 ???? ????? ? PDE-TOOLBOXBoundary Condition
Mode (????5)
- ?Boundary ?????? Boundary Mode ?Show Edge
Labels
- ???? ???? ????? ???? ?????
- Boundary conditions
- ?????? ???? Dirichlet
- ??????? h1 ?r-1 ????
- ?????? ??? 4 ?2 ?h1
- ?r1 ??????? 1 ?3
174.3 ???? ????? ? PDE-TOOLBOXPDE Mode (????6)
- ?????? ?????? PDE , PDE mode ?PDE Specifications
- ?????? elliptic ???????? ?? ?????????????
???????
184.3 ???? ????? ? PDE-TOOLBOX Mesh Mode (????7)
- ?????? ?Mesh ? ?Mesh Mode ?????? ?Initialize Mesh
- ????? ????? ?????? ??? ????? ????
194.3 ???? ????? ? PDE-TOOLBOX Solve Mode (????8)
- ?SOLVE ?????? Solve PDE ??????? ????? ?? ??????
204.3 ???? ????? ? PDE-TOOLBOX Plot Mode (????9)
- ?Plot ?????? Parameters ??????? ???? Plot
Selection - ?????? ???? color, contour,Height(3-D plot)
214.3 ???? ????? ? PDE-TOOLBOX Plot Mode (????10)
224.3 ?????? ????? ??????
- ?????? ??????? ???? ????? ??? ?? ?????? ?Solve gt
Export Solution - ????? u - ???? ?????? ???? ????? ?????
- ???? ????? ???? ????? ?Mesh Mode gt Show Node
Labels
u u 0 -0.3881
234.3 ????? ??????
- ??? ????? ?? ?????? ???? ?Mypdesample.m ????
?File ????? Save as ???? ??
244.4 ???????
- ???? ??????? ???? ?????? ????? ???? ???? ????
- sin(py2) ??????? 4,2
- -0.5x4(3-x)2 ????? 1
- ?-0.5x2(3-x)4 ????? 3
- ???? ???? ??????? ??????? Boundary Condition
- ???? ??? ????? ??? ????? height
- ??? ????? ???? ???? ?? ?????? ??????? (??? ????)
????? ???? ?????? ????? - ?????
- ????? ?grid ?? ?????? 0.1, ????? ??????? 0.2,
????? ???? ??????? ??????? ????? ????? ???? ?????
?????? - ?Draw Mode ????? ????? Set Formula
- R1-(R2R3R4R5)C1C2C3C4
- ?Boundary Mode ????? ?Remove All Subdomain
Orders
254.4 ??????? (????)
- ????? ??? ????? ?????? ?? ???? ??????
264.4 ??????? (????2)
- ????? ??? ????? ?????? ?? ???? ?????? (????)
274.4 ??????? (????3)
- ????? ??? ????? ?????? ?? ???? ?????? (????2)
- ?Boundary Mode ????? ?
- Remove All Subdomain Orders