Validation in MATLAB of actual power data vs the model power response