We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3eb99cd commit c1bf87eCopy full SHA for c1bf87e
src/+otp/+kuramotosivashinsky/+presets/Canonical.m
@@ -36,7 +36,7 @@
36
% right boundary point
37
x = linspace(h, L, N).';
38
39
- u0 = cos(x/16).*(1+sin(x/16));
+ u0 = cospi(2*x/L).*(1+sinpi(2*x/L));
40
41
u0hat = fft(u0);
42
0 commit comments