p2x.m

来自「加权总体最小二乘matlab工具箱」· M 代码 · 共 23 行

M
23
字号
function x = p2x(p,tol)% P2X - From image to an input/output representation.% P2X(P) is an input/output representation of image(P).% P2X(P,TOL) ill conditioning of the transformation is % checked with the user defined tolerance TOL.if nargin == 1  tol = 1e-14; % default end  % Find a minimal image representationp = minp(p); % Define the number of inputs[sd,m] = size(p);% Check the conditioning of the transformationif rcond(p(1:m,:)) < tol  error('Conversion to an I/O representation is ill conditioned.')end% Transformx = ( p(m+1:end,:) / p(1:m,:) )';

⌨️ 快捷键说明

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