Group Abstract Group Abstract

Message Boards Message Boards

0
|
8K Views
|
3 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Using Nest for Convolution of n Uniform Distributions

Posted 10 years ago
POSTED BY: David S
3 Replies
Posted 10 years ago

I think the correct definition should read

UConv[w_] := {Convolve[U[x], w[[1]] /. w[[2]] -> x, x, w[[2]]], w[[2]]}

in order for Nest to give the expected output (confer details above).

Best, Xavier

POSTED BY: Xavier Roy

Your code has some errors. I think you want:

UConv[w_] := {Convolve[U[x], w[[1]], x, w[[2]]], w[[2]]}

Nest[UConv, {U[x], y}, 2]

POSTED BY: Sean Clarke
Posted 10 years ago
POSTED BY: Xavier Roy
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard