当然可以.试试吧
A = rand(6,6); % // big matrix, an example
B = A(3:4,3:4); % // central sub matrix obtained using indices
Run Code Online (Sandbox Code Playgroud)
其中(在这种情况下)也相当于
B = A([3 4],[3 4]);
Run Code Online (Sandbox Code Playgroud)
通常,您可以从矢量中提取子矢量,选择您感兴趣的索引.