MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [求助]关于截取矩阵块的问题 (https://www.labfans.com/bbs/showthread.php?t=3395)

ruanruan 2008-06-01 22:15

[求助]关于截取矩阵块的问题
 
请教大家,我现在有一个1024×15的矩阵,我想截取上半部分512×15组成新的矩阵,即取每一列的前512个元素,请问有什么好的方法?谢谢啦!!

fgabertb 2008-06-01 23:48

[QUOTE=ruanruan;11768]请教大家,我现在有一个1024×15的矩阵,我想截取上半部分512×15组成新的矩阵,即取每一列的前512个元素,请问有什么好的方法?谢谢啦!![/QUOTE]

a=[...] ;

a(1:512,:):smile:


所有时间均为北京时间。现在的时间是 03:29

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.