This solution is outdated. To rescore this solution, sign in.
-
2 Comments
GEORGIOS BEKAS
on 8 Jan 2018
y = linspace(-L,L,N)
It strangely does not work
Anirban Pal
on 16 Apr 2020
linspace doesn't work as it gives a std(diff(y)) of the order of 1e-15 and not 0.
Use colon operators.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!