📄 plotinvsolnode.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 + -