⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makeregmatrix.m

📁 实现对电磁层析模型的建立
💻 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 + -