Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 1
    $\begingroup$ Another possibility: ArrayPad[List /@ sums, {{0, 0}, {0, 9}}, "Fixed"]. $\endgroup$ Commented Dec 16, 2015 at 1:36
  • 2
    $\begingroup$ @J.M. That's really nifty, but given the OP demonstrated level of Mathematic savvy, I think mapping ConstantArray will be more digestible. $\endgroup$ Commented Dec 16, 2015 at 1:59
  • $\begingroup$ Sorry to bother you again, I have pnew[i_] := For[tab[[1]] = tabn[[i]]; j = 2, j <= 6, j++, tab = ReplacePart[tab, j -> (1 + al)*tab[[j - 1]] + sigma*epsilon[[j - 1]]*tab[[j - 1]]]] $\endgroup$ Commented Dec 18, 2015 at 5:34
  • $\begingroup$ I wanted to ask a specific short question but let me open a new question $\endgroup$ Commented Dec 18, 2015 at 5:48