This repository contains MATLAB and Python scripts for the simulation and design of pixelated metasurfaces, patch antennas, and unit cells. The scripts reference established research papers (linked within the scripts) for accurate modeling and simulation.
- Implementations for designing and simulating:
- Unit cells
- Patch antennas
- Metasurfaces using periodic boundary conditions, PCR(R), and S-parameter calculations
- CST-MATLAB interface without the need for VBA scripts
- Floquet functions and mixed template results
function resultCalculation(Frequency, MAG_A, MAG_B) % Calculate expression and invert it result = (MAG_A .* MAG_A) ./ ((MAG_A .* MAG_A) + (MAG_B .* MAG_B)); inverted_result = 1 - result; % Invert the result
- Python-based API to automate simulation workflows and data extraction
- Key functionalities:
- Execute CST simulations directly from Python
- Export data for mixed template results
- A collection of simulation results for verification and validation of the scripts’ performance and accuracy







