/
concept-collection
/
windowedFourierProjection
Jump to
/
Appearance
Match my system
Paper
GitHub
Slate
Midnight
Terminal
Sign in
concept-collection
/
windowedFourierProjection
Code
Commits
Issues
0
Pull requests
0
Actions
Branches
1
Tags
0
Site
8748c66
Branches
main
windowedFourierProjection
/
wfp_1Dspringscattering
/
get_springConstants.m
9 lines · 194 B
Copy
Copied
Blame
History
Raw
1
function beta = get_springConstants(betaMax,M,uniform_beta)
2
3
if
(uniform_beta ==
1
)
4
beta = betaMax*ones(M,
1
);
5
else
6
beta =
0.1
+ (betaMax
-0.1
)*rand(M,
1
); % constant
for
the spring
7
end
8
9
end
↑
↓
move
↵
open
esc
close