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

📄 plotinvsolnode.m

📁 MATLAB二维电阻抗断层成像算法!用于医学成像,里面包括有限元剖分正问题,及反问题的算法.并且附有网络剖分数据表!
💻 M
字号:
function [fh,fp]=Plotinvsolnode(sol,g,H);

%Plotinvsolnode Plots the solution of 2D EIT problem in linear basis 
% Function []=Plotinvsolnode(sol,g,H);
% plots the solution of 2D EIT problem. Conductivity in linear basis.
%
% INPUT
%
% sol = the solution, values in the nodes
% g = node coordinates (x,y) (N x 2 matrix)
% H = connectivity matrix




[solN,solM]=size(sol);
[gN,gM]=size(g);
[HN,HM]=size(H);

for ii=1:solM
  view(2);
  hold on
  for ij=1:HN
    X=g(H(ij,:),1);
    Y=g(H(ij,:),2);
    Z=sol(H(ij,:),ii);
    fp=patch(X,Y,Z,Z);
    set(fp,'edgecolor','none');
    hold on
  end    
end
axis('square')

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -