PO_matlab
pyramidal_horn_profiler.m File Reference

Script to profile pyramidal horn field generation performance. More...

Detailed Description

Script to profile pyramidal horn field generation performance.

This script initializes physical constants and sets up parameters for a dish antenna and horn feed. It defines two field-generating functions: one for a circular aperture and one for a pyramidal horn. The horn field function is evaluated repeatedly for profiling or benchmarking purposes.

Inputs

  • None required directly. All parameters are defined in the script.

Outputs

  • No variables are saved or plotted. Script is used for runtime analysis.

Usage

Run directly from the command window or script editor to measure execution time or verify function behavior under repeated evaluation.