⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gha_unchopst.m

📁 matlab神经网络代码
💻 M
字号:
function I=gha_unchopst(X,r,c,rm,cm)% function I=gha_unchopst(X,r,c,rm,cm)%% routine to rebuild the image out of the column vectors of X which the unfolded% blocks pulled out in gha_chopstak.m%% X - columns vectors to form blocks% r  - blocks per column% c  - blocks per row% rm - rows in block% cm - columns in block%% Hugh Pasika 1997I=zeros(r*rm,c*cm);for i=1:r,   for j=1:c,      row=(i-1)*r+j;  x=X(row, :);      I( (i-1)*rm+1:i*rm , (j-1)*cm+1:j*cm )=reshape(x,8,8);   endend

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -