Skip to content

Commit

Permalink
Update landan.m
Browse files Browse the repository at this point in the history
  • Loading branch information
lisai9093 committed Jun 25, 2024
1 parent 1247a70 commit ab8ab2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion landan.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

x=[0 180 240 420 630 1040 1440 2160 2790 3900 4800 6380 7590 9720 11280 14040 15990 19460 21840 26100];
y=[96525 104247 111969 119691 127413 135135 142857 150579 158301 166023 173745 181467 189189 196911 204633 212355 220077 227799 235521 243243];

y=y-y(1);
for i=1:length(x)
X(i)=sum(x(1:i));
end
Expand Down

0 comments on commit ab8ab2b

Please sign in to comment.