假设你的那个矩阵叫VectorNewVector=Vector(Vector~=max(Vector));如果不需要保留原来的矩阵,可以这样Vector(Vector==max(Vector))=[];
把数据发上来,好帮你做。