#範例11-4:求點(-3,1)對x軸的正交投影 import numpy as np T1 = np.array([ [1,0], [0,0] ]) x = np.array([ [-3],[1] ]) y = T1 @ x print('對x軸的正交投影=\n', y)