Text this: Q factor measurements using MATLABʼ /