Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 5773

Converting a 2D plot into a 1D plot by taking the average

$
0
0

Hi,

After running my simulation I have a plot like the one attached as a picture. I want to convert this 2D plot into a 1D plot by taking the average in the y direction. For example lets say that my simulation gave out a variable called u(x,y). And I want to average it out with respect to the y direction. Meaning:

How can I do this, all that I been able to find is to find the average of the entire 2D plot not only in one direction.


Viewing all articles
Browse latest Browse all 5773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>