Spin quantum number vector.
vec = spinvec(System)
This function extracts the quantum numbers of the spins constituting
the spin system described by the structure System
. It is a row
vector of spin quantum numbers.
If we define a spin system ABC
with
ABC = struct('S',1/2,'g',[2 2 2.3],'Nucs','63Cu,14N','A',[10 10 200;5 5 5]);we can extract the spin quantum numbers with
spinvec(ABC)
ans = 0.5000 1.5000 1.0000