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

📄 initill.m

📁 一个很好用的摄像机标定程序
💻 M
字号:
function x=initill(n)
% Usage:
% x=initill(n)
% Sets the global constant matrices and vectors of the dimension <n>
% and returns the standard starting point <x>
% for the Ill-conditioned Linear Programming problem.
global matrA vectB vectC
vectB=[]; vectC=[]; matrA=[];  
  for i=1:n,
    x(i)=0;     vectB(i)=0;
    for j=1:n
       matrA(i,j)=1/(i+j);       vectB(i)=vectB(i)+1/(i+j);
    end
    vectC(i)=-1/(i+1)-vectB(i);
  end
  vectB=vectB';    vectC=vectC';  x=x';

⌨️ 快捷键说明

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