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

📄 replay.m

📁 解决麦克斯韦的matlab源文件
💻 M
字号:
function replay(mesh,times,solv,sole,step,filename)% Rendering of nodal/edge element solution for% transient Maxwell problem in a cavityN = length(times);if (nargin < 6), filename = []; end;if (nargin < 5), step = 1; end;if (size(solv,2) ~= N), error('Wrong number of samples in solv'); endif (size(sole,2) ~= N), error('Wrong number of samples in sole'); endfprintf('Displaying %d data samples\n',N);figure; clf; figno = gcf;for i=1:step:N  plotiterate(mesh,sole(:,i),solv(:,i),times(i),figno);  if (~isempty(filename))    epsfile = [filename , '_t' ,  num2str(times(i),3) , '.eps'];    fprintf('Printing to file %s\n',epsfile);    print('-depsc','-r600',epsfile);  endend

⌨️ 快捷键说明

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