2010-10-18 97 views

回答

5
x = [3 15 9 12 -1 0 -12 9 6 1]; 
m = mean(x); 
idx = (x>m); 
x(idx) = x(idx) - m; 
+0

感謝荷銀..你是一個救星.. Shokran! – 2010-10-18 04:27:24