I have a mat file and i'm able to read it via python, but facing difficulties in resampling the data. Earlier i was able to resample in mdf file from mdfreader but now i have a mat file.