Maybe converting X domain cell arrays to a symbolic array might be the solution
Symbolic_array_domain= cell2sym(X);
but obviously the grouping of each domain is lost
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!