This commit is contained in:
2025-11-17 11:16:02 +08:00
parent 4bd2d87fc4
commit 1b3b07a7f6
35 changed files with 454 additions and 0 deletions

11
jjpc.m Normal file
View File

@@ -0,0 +1,11 @@
function [csgz,qxx,dert0,dlj]=jjpc(bb,ll,pp)
pn=diag(pp);
nbb=bb'*pn*bb;
ww=bb'*pn*ll;
qxx=inv(nbb);
csgz=qxx*ww;
vv=bb*csgz-ll;
vtpv=ll'*pn*ll-ww'*csgz;
[rr,nn]=size(bb);
dert0=sqrt(vtpv/rr);
dlj=der0*dert0*bb*qxx*bb';