フィルターのクリア

Adding random numbers to each number in a column of a table.

2 ビュー (過去 30 日間)
Isaac Osei Agyemang
Isaac Osei Agyemang 2018 年 10 月 12 日
回答済み: Isaac Osei Agyemang 2018 年 10 月 12 日
Hello community, I want to add random numbers to each element within the column of a table. this's is what I've been doing, but my approach adds same random number to all elements in that spefic column.
NewEdge(:,2) = NewEdge(:,2)+ randi(3);

採用された回答

Isaac Osei Agyemang
Isaac Osei Agyemang 2018 年 10 月 12 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTables についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by