实现矩形波导模式的计算 MATLAB 代码
发布时间
阅读量:
阅读量
鉴于个人许久未曾进行编程实践,此次仅以练习为目的寻找适当内容进行尝试。此前在网络资源中注意到有采用Python语言完成的相关案例,考虑到无需额外安装各类软件环境,遂选择使用MATLAB进行编写,具体代码及相应说明如下所示。
clear all;
%This code help you to calculate the cutoff wavelength in a rectangular
%waveguide and give you the order of the modes.
% Here, you need to input rectangular waveguide's a and b, the default figure use WR90's.
% Do remember that the value of a is bigger than b;
% a=20.86;
% b=10.12;
a=input('Please input the value of a:');
b=input('Please input the value of b:');
%Here you can choose how many modes you may need.
全部评论 (0)
还没有任何评论哟~
