A matlab experimental framework for electromagnetic education | Synapse