Adding random numbers to each number in a column of a table.
2 ビュー (過去 30 日間)
古いコメントを表示
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);
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Tables についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!