数列重新排列。
古いコメントを表示
各位大佬晚上好
A=[5 7 3 5]
想将它重新排列,顺序随机,应该怎么编写代码呢
例如随机生成的结果为:A_new=[5 5 3 7]或者A_new=[7 5 3 5]
总而言之是重新排列了
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で 随机数生成 についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!