1 平方

matlab:^
python:**

2 不等号

matlab:~=
python:!=

3 数组索引:

matlab:从1开始
python:从0开始

4 与或非

matlab:
& | ~
python:
and or not