No BSD License  

Highlights from
Clebsch Gordan Coefficient Solver GUI

image thumbnail
from Clebsch Gordan Coefficient Solver GUI by james jun
Easy to use Clebsch-Gordan coefficient solver for adding two angular momentums.

findinitindex( j1, j2, M )
function [ MI ] = findinitindex( j1, j2, M )
%FINDINITINDEX find a rhs indices which is non-zero

MI = [];
for m1 = j1:-1:-j1
    for m2 = j2:-1:-j2
        if (m1 + m2 == M)
            MI = [MI; [j1 m1 j2 m2]];
            break;
        end
    end
end

Contact us at files@mathworks.com