运行A = diag(sparse([1e4*ones(1, 8) 1e4:-1:1]));s = svds(A,6,'largest','SubspaceDimension',60);
这个是版本问题,你更新到新的版本就不会报错了,我的2020a