a = rand(5,80);
iwant = a(1,1)-a(2,1)
你尝试过的东西:
U1 = U(1,:1);
:1无效。只需您需要索引Bu U(R,C)。
你(1,:)%给出了整个第一行
U(:,1)%给出了整个第一列