MATLAB Answers

Light

How can i extract sub matrix from basic matrix

Asked by Light
on 7 Jun 2013

Hello. My basic matrix is

B=[-1,1,1,5+i*2;0,-1,0,20+i*10;0,0,-1,10+i*3;1,0,0,0;30+i*30,50+i*50,60+i*60,0]

Sub matrix is A

A=[-1,1,1;0,-1,0;0,0,-1;1,0,0]

  0 Comments

Products

No products are associated with this question.

1 Answer

Answer by Walter Roberson
on 7 Jun 2013
 Accepted answer
   A = B(1:4, 1:3);

  0 Comments


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today