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

Plus de réponses (0)

Catégories

En savoir plus sur 随机数生成 dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!