Convert matrix A to S
    조회 수: 3 (최근 30일)
  
       이전 댓글 표시
    
Hello,
I try to convert ths matrix (called A)
A = [5 8 3; 1 2 3; 2 4 6] 
to a matrix called S, using this code
S =
1    2
5    8
9   10
S=[A(1,1:2); A(2:3,1).'; 9 10]
This is not qute right
Any ideas? Thank you
댓글 수: 1
답변 (1개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!