/ concept-collection / windowedFourierProjection
Sign in
concept-collection / windowedFourierProjection
windowedFourierProjection / wfp_1Dspringscattering / get_springConstants.m
9 lines · 194 BBlameHistoryRaw
1function beta = get_springConstants(betaMax,M,uniform_beta)
3if(uniform_beta == 1)
4 beta = betaMax*ones(M,1);
5else
6 beta = 0.1 + (betaMax-0.1)*rand(M,1); % constant for the spring
7end
9end
moveopenescclose