Message Boards Message Boards

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

Make an array from a convolution of two functions

Posted 2 years ago

I made a convolution of two functions. The convolution graph is safely displayed as a graph. But how do I get the numerical value of this convolution. To make an array of samples.

3 Replies
Posted 2 years ago

Is this what you are looking for?

tbl=Table[conv,{y,Pi/16,2Pi,Pi/16}]//N

If that doesn't produce exactly what you are looking for then please edit your post to show exactly what the result should be and I'll see if I can match that.

POSTED BY: Bill Nelson

It works! Many thanks, Bill.

Attachments:
Posted 2 years ago

If you want to extract the points that were actually used by Plot

plot = Plot[conv, {y, 0, 2*Pi}, PlotRange -> All];
points = Cases[plot, Line[p__] :> p, All];

Show[plot, ListPlot[points, PlotStyle -> Red], ImageSize -> 600]

enter image description here

POSTED BY: Rohit Namjoshi
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract