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

📄 convergence_analysis.m

📁 用S-Matrix算法计算光栅衍射问题。
💻 M
字号:
function convergence_analysis
clc;clear all;close all
data = load('convergence_data');
temp_data =data.TM_reflection_eff_convergence; % choose the wave you want to analyze
NN = data.NN;
[mm,nn,pp] = size(temp_data);

figure
hold on
jj = 2; % choose the row to analyze
yy = temp_data(jj,:,1);
plot(NN,yy,'-*')
xlabel('Truncation parameter N')
ylabel('Diffraction efficiency')
title('Convergence behavior of S-Matrix algorithm')
hold off
end

⌨️ 快捷键说明

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