2006年10月22日 - 一個向量之長度及絕對值可以利用length()指令。此指令在於求得向量之長度或元素個數。例如: >> a=1:9 a = 1 2 3 4 5 6 7 8 9 >> length(a) ans = 9
matlab4fun.blogspot.com