% Run this file to find the steady state

 
function x = find_ss()

%x0 = abs(randn(1,40));
x0 = [1.9847    2.1061    2.1061    0.9236    0.8662    0.8662    2.7259    2.6683...
      2.6683   23.8188   25.4048   25.4048    0.0381    0.0350    0.0350    1.9685...
      2.0546    2.0546    1.0139    1.0165    1.0165   23.4871   11.6041   11.6041...
     13.8007   13.8007   27.9331         0         0    1.0055    1.0055    0.8319...
      0.8319    0.8319    1.0166    1.0106    1.0106    0.1815    0.1777    0.1777];
%x0 = abs(x0);
tol = 1e-13;
options = optimset('Display', 'off', 'MaxFunEvals', 5000, 'MaxIter', 5000, 'TolFun', tol, 'TolX', tol);
x = fsolve('CGMPCoord_sseqs',x0,options);

end

