I'm more awake now to look at your equations, although I see that use of null is still essentially meaningless here. They are all of the general form:
p1 == (Lit_IsoSr(1) - ((pOpx .* p2) + (pCpx .* p3) + (pBt .* p4)...
+ (pPl .* p5) + (pKfs .* p6) + (pQtz .* p7) + (pMt .* p8) + (pIl .* p9))) ./ pFl;
where p1, p2, p3, p4,... p9 are the unknowns. So you have a 9x9 matrix of coefficients. I wonder at first if you have values for the coefficients or not, but that is not relevant as I look at your equations.
But then, as I look more closely at your equations. Strange, that. They are all identical! You only have one equation. That is, multiply equation 1 by pFl, then re-write it, by bringing all of the terms with p1,...p9 onto the left hand side.
pFl*p1 + pOpx.*p2 + pCpx.*p3 + pBt.*p4 + pPl.*p5 + pKfs.*p6 + pQtz .* p7 + pMt.*p8 + pIl.*p9 == Lit_IsoSr(1)
Now, do the same for equation 2, multiplying by pOpx. Indeed, I get identically the same equation, with the same constant on the right hand side. If we repeat this operation on each of your equations, I get the same identical result.
VERY STRANGE.
You do NOT have a system of 9 equations in 9 unknowns. You have ONE equation, repeated 9 times. You just divided that equation by one of the constants, then decided to move some of the terms to the other side of the equality. You cannot create nine independent equations by taking your single equation, and then divide it by some value. equations 2-9 do not add any new information to the problem, beyond what you already had in equation 1.
The linear system is rank deficient because you only have ONE equation. You can completely arbitrarily pick any values you want for the unknowns p1,...p8, and then solve for p9. Or you can solve for any one of the unknowns, IF you only knew the others.
So again, this is not a probem that null can handle in any way. But worse, this is not a problem you can resolve in any meaningful way, but to write a set of 9 INDEPENDENT equations. So you do indeed need to reformulate your problem.
Best Answer