Adding random numbers to each number in a column of a table.
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Isaac Osei Agyemang
am 12 Okt. 2018
Beantwortet: Isaac Osei Agyemang
am 12 Okt. 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 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Tables finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!