?? simple1d.m
字號:
function B = simple1d% simple1d.m A nonlinear algebraic equation model object constructor,% derived from the naemodel class. Called as%% A = simple1dd%S = quadgrid('slab',20,'z',[0 1]);DDz = linearoperator(S,'dd','z');% Solution initial guessT = scalarfield(S,rand(20,1));u = 2;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% set up an instance of the twodww objectvar = assocarray({'T' T});param = assocarray({ 'DDz' DDz 'u' u });A = naemodel('simple1d',var,param);B = struct([]);B = class(B,'simple1d',A);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -