結果 : how to write matlab code in python