Theta and A with L notation using cell array