We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d5f504 commit ee4c5acCopy full SHA for ee4c5ac
src/+otp/+lorenz96/+presets/PopovSandu.m
@@ -19,7 +19,7 @@
19
q = s.Partitions;
20
omega = s.ForcingPeriod;
21
22
- F = @(t) 8 + 4*cos(2*pi*omega*(t + mod((1:N) - 1, q)/q)).';
+ F = @(t) 8 + 4*cospi(2*omega*(t + mod((1:N) - 1, q)/q)).';
23
24
params.forcingFunction = F;
25
0 commit comments