mag_fields Halbach array analysis for EMA 569 Use ..\scripts\ to store all MATLAB functions and scripts