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

 採用された回答

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange随机数生成 についてさらに検索

タグ

質問済み:

2023 年 5 月 19 日

回答済み:

2023 年 5 月 19 日

Community Treasure Hunt

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

Start Hunting!