📄 x2img.m
字号:
function [img]=x2img(x,width,height)% X2IMG reshapes vector x into an image of given shape.% [img]=x2img(x,width,height)%% X2IMG reshapes given vector x into matrix of % size height-by-width.%% See IMG2X, PIMG, PGM2X, PGM2MI.%% Statistical Pattern Recognition Toolbox, Vojtech Franc, Vaclav Hlavac% (c) Czech Technical University Prague, http://cmp.felk.cvut.cz% Written Vojtech Franc (diploma thesis) 02.01.2000% Modifications% 16-apr-2001, V.Franc, created.%img = reshape(x,width,height)'; return;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -