everyone, I have some excerpt code for Matlab. I want to transfer to python3.7 code. But I don\'t know how to correct the transfer to python software. Such as function "