各位大佬晚上好
A=[5 7 3 5]
想将它重新排列,顺序随机,应该怎么编写代码呢
例如随机生成的结果为:A_new=[5 5 3 7]或者A_new=[7 5 3 5]
总而言之是重新排列了

更多回答(0 个)

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!