Adding random numbers to each number in a column of a table.
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Isaac Osei Agyemang
il 12 Ott 2018
Risposto: Isaac Osei Agyemang
il 12 Ott 2018
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 Commenti
Risposta accettata
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Tables in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!