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

📄 hpdisp.m

📁 computation of conformal maps to polygonally bounded regions
💻 M
字号:
function hpdisp(w,beta,z,c)
%HPDISP Display results of Schwarz-Christoffel half-plane parameter problem.
%   HPDISP(W,BETA,Z,C) displays the results of HPPARAM in a pleasant
%   way.
%
%   See also HPPARAM, HPPLOT.

%   Copyright 1998 by Toby Driscoll.
%   $Id: hpdisp.m 9 1998-05-10 04:55:10Z tad $

if length(z) < length(w)
  z = [z(:);Inf];
end
disp(' ')
disp('      vertex [w]           beta          prevertex [z]   ')
disp(' --------------------------------------------------------')
u = real(w);
v = imag(w);
for j = 1:length(w)
  if v(j) < 0
    s = '-';
  else
    s = '+';
  end
  disp(sprintf(' %8.5f %c %7.5fi     %8.5f    %20.12e',...
      u(j),s,abs(v(j)),beta(j),z(j)));
end
disp(' ')
if imag(c) < 0
  s = '-';
else
  s = '+';
end
disp(sprintf('  c = %.8g %c %.8gi\n',real(c),s,abs(imag(c))))

⌨️ 快捷键说明

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