function bdedge = updatebd(bdedge,marker,d2p) % UPDATEDBD refine the boundary edges % % bdedge = updatebd(marker,bdedge,d2p) % …
Boundary+Processing 源代码
汇集 Boundary+Processing 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
function crack clear all % Initial Mesh node = [1,0; 0,1; -1,0; 0,-1; 0,0; 1,0]; elem = [5,1,2; 5,2,3; 5,3,4; 5,4,6]; Dirichl…
function u = Poisson(node,elem,Dirichlet,Neumann,f,u_D,g) % POISSON solve the 2-D Poisson equation % -\Delta u = f, % in a d…
function bdEdge = updatebd(bdEdge,marker2,d2p) % UPDATEDBD refine the boundary edges % % USAGE % bdEdge = updatebd(bdEdge,m…
function [mesh] = uniformrefine(mesh,n) % UNIFORMREFINE refines the current triangulation by dividing % each triangle into four …
% spnnchainp Defines a Hamiltonian with a(k)b(k+1) nearest-neighbor % and periodic boundary condition; sparse vers…
%nnchainp Defines a Hamiltonian with a(k)b(k+1) nearest-neighbor % and periodic boundary condition. % nnchainp (a,…
function [mu, N, pick] = parzen_fit_select_unif(data, labels, max_proto, varargin) % PARZEN_FIT_SELECT_UNIF Fit a parzen density e…
% Twodimensional heat conduction % Finite Volume Method % SOR clear all; x=[];y=[];T=[];Told=[];Su=[];Sp=[];ap=[];ae=[];aw=[];…
% Twodimensional heat conduction % Finite Volume Method % Line by Line TDMA with SOR clear all; x=[];y=[];T=[];Told=[];Su=[];S…