matlab 一组随机数 要求写fuction 将其正负分类并分别求和A=fix(-50 + (50+50) *rand(1,N)) N为30 不能用built-in sorting functions