matrix elements scaling
조회 수: 2 (최근 30일)
이전 댓글 표시
can anybody please tell me how to do scaling elements in matlab ? for example, I have a matrix like a = [1 2 4 5 6 4 9] I want to scale down the 3rd element by 2 that means 4/2 = 2 and last element 9 by 3 so that the new matrix will look like
a = [1 2 2 5 6 4 3]
thanks in advance dude
댓글 수: 0
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!