referencing a matrix value to another matrix value within the same matrix

How do I essentially do the following
A = [ 1 2 3 A(1,1)];
Where I want the first row fourth column to equal the value from the first row first column which is already defined.
I get an error when I try to do this

 채택된 답변

madhan ravi
madhan ravi 2018년 12월 6일
편집: madhan ravi 2018년 12월 6일
A = [1 2 3];
A = [ 1 2 3 A(1,1)]; % to perform A(1,1) it has to be defined before using

댓글 수: 1

If this is what you were looking for make sure to accept the answer , i can see that you haven't responded to any of the answerers in your previous questions!

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

제품

릴리스

R2016a

태그

질문:

2018년 12월 6일

댓글:

2018년 12월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by