We present the eigenmodal analysis techniques enhanced towards calculations of optical and non-interacting Bose-Einstein condensate (BEC) modes formed by random potentials and localized by Anderson effect. The results are compared with the published measurements and verified additionally by the convergence criterion. In 2-D BECs captured in circular areas, the randomness shows edge localization of the high-order Tamm-modes. To avoid strong diffusive effect, which is typical for BECs trapped by speckle potentials, a 3-D-lattice potential with increased step magnitudes is proposed, and the BECs in these lattices are simulated and plotted.