creating proof of concept in MATLAB