PO_matlab
load_cst_demo.m File Reference

Visualizes CST far-field simulation data in MATLAB using custom coordinate conversion. More...

Detailed Description

Visualizes CST far-field simulation data in MATLAB using custom coordinate conversion.

This script demonstrates how to load and visualize far-field results exported from CST Studio Suite. It compares the raw CST spherical data to the transformed version in the simulation’s custom coordinate system using the DishAnalyzer plotting tools.

Inputs

  • CST far-field export file: 'farfield_(f=2.4)_[1].txt'
  • Function loadcstfarfield: loads raw CST spherical coordinate data
  • Function loadcstfarfield_mycoords: loads CST data and converts it to custom spherical coordinates

Outputs

  • 3D surface plots of |E| in dB for both raw CST and custom coordinate systems

Usage

  • Requires DishAnalyzer class for 3D plotting
  • Designed for quick inspection of CST far-field formats and transformations
Note
This script does not perform analysis—only visualization. Data fidelity must be ensured upstream.