Uniform Circular/Cylindrical waveguide field plotter
Version 1.0.1 (6.45 KB) by
Marcis Bleiders
Plots transverse fields of any uniform cylindrical waveguide mode
Main plotting function is 'circular_wg_plot.m'.
Variables 'm_max' and 'n_max' sets the maximum azimuthal and radial orders for generating the mode list. This list is then sorted according to cutoff wavelenghts. Variable 'mode_nr' chooses the mode from the sorted list for plotting (the list is printed in console).
Examples:
TE11 mode:
TM11 mode:
With m_max = 8 and n_max = 6, mode list follows the same numbering (degenarate modes may have the numbering swapped) as seen in this popular sheet often found in literature:
Code uses function zerobess() written by Jonas Lundgren for calculating the roots of Bessel functions of first kind.
Code is tested only in MATLAB 2015a
Cite As
Marcis Bleiders (2024). Uniform Circular/Cylindrical waveguide field plotter (https://www.mathworks.com/matlabcentral/fileexchange/96504-uniform-circular-cylindrical-waveguide-field-plotter), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2015a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.