//Description: Python 与 matlab 的相异之处
//Create Date: 2014-11-21 20:09:19
//Author: channy
1 矩阵:
1.1 表示
Python: x=[[1,2],[3,4]]
Matlab: x = [1,2;3,4]
1.2 性质
Python: x.size,x.shape
Matlab: size(x)
2 编程习惯
2.1 多行注释
Python: ‘’’ ‘’’或””” “””
Matlab: %{ %}或Ctrl+RàCtrl+T或if LOGICAL(0) end
3 循环