Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Creating a Matrix by Manipulation
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi, How do you create a matrix that is identical to another matrix except for one entry? For example, if there is a matrix A=[1 2 ; 3 4], how do you create a matrix B=[1 10 ; 3 4]?
Thank you.
댓글 수: 0
답변 (1개)
Joseph Cheng
2015년 10월 6일
you would index the item like
A(1,2) = 10; %A(1,2) says row 1 column 2 of A should = 10
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!