plotinvsol.m
来自「MATLAB二维电阻抗断层成像算法!用于医学成像,里面包括有限元剖分正问题,及反」· M 代码 · 共 32 行
M
32 行
function []=Plotinvsol(rho,g,H);
%Plotinvsol Plots the solution of 2D EIT problem with piecewise constant basis
% Function []=Plotinvsol(rho,g,H);
% plots the solution of 2D EIT problem.
%
% INPUT
%
% rho = the solution, constant on each element
% g = node coordinates (x,y) (N x 2 matrix)
% H = connectivity matrix
[nH,mH]=size(H);
axis('off'),axis('square')
set(gcf,'defaultpatchedgecolor','none');
for ii=1:nH
Hii=g(H(ii,:),:);
patch(Hii(:,1),Hii(:,2),rho(ii));
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?