?? makeregmatrix.m
字號:
function R=MakeRegmatrix(Element);%MakeRegmatrix Computes a regularisation matrix which includes smoothness assumptions% Function R=MakeRegmatrix(Element);% computes a regularization matrix R which is a% version of 2D difference. %% INPUT% Element = element structure%% OUTPUT%% R = regularisation matrix% M. Vauhkonen 13.8.1999, % University of Kuopio, Department of Applied Physics, PO Box 1627,% FIN-70211 Kuopio, Finland, email: Marko.Vauhkonen@uku.fimsE=max(size(Element));R=sparse(msE,msE);for ii=1:msE Inds=[Element(ii).Face{:,2}]; R(ii,Inds(Inds~=0))=-1; R(ii,ii)=abs(sum(R(ii,:)));end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -