Replacing a Column vector value

조회 수: 1 (최근 30일)
Raghavendra Reddy P
Raghavendra Reddy P 2016년 8월 30일
댓글: Raghavendra Reddy P 2016년 8월 30일
I have a matrix x=[1 2 3; 4 5 6; 7 8 9]. i wanted to replace 3rd column of matrix by a scalor value of 10. new matrix should look like x=[1 2 10; 4 5 10; 7 8 10]

채택된 답변

KSSV
KSSV 2016년 8월 30일
  댓글 수: 1
Raghavendra Reddy P
Raghavendra Reddy P 2016년 8월 30일
sir thank you.. Actually its a small step but i got confused :)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by