llegirfitxer.m

来自「phow is the code for extracting pyramid 」· M 代码 · 共 9 行

M
9
字号
function featR = llegirFitxer(file)
    fid = fopen(file, 'r');
    dim=fscanf(fid, '%f',1);
    nb=fscanf(fid, '%d',1);
    feat = fscanf(fid, '%f', [12+dim, nb]);
    feat =feat';
    featR = feat(:,12+1:dim+12);
    fclose(fid);
end

⌨️ 快捷键说明

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