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에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!