plotting the average of a range of data

2 views (last 30 days)
Anindita Deka
Anindita Deka on 4 Dec 2019
Commented: Guillaume on 4 Dec 2019
How can I plot the average of a range of data in matlab??
Suppose,
F(x,y)=x+y
And x and y are square matrix of dimension 100x100. I need to plot F(x,y) along x. And constraint is average of y for a range of values of dimension 5x100.
  4 Comments
TADA
TADA on 4 Dec 2019
Im not sure i follow, but maybe have a look at movmean
Guillaume
Guillaume on 4 Dec 2019
For me, the whole thing is not clear. If x is a 100x100 matrix, how can you plot against x? A plot normally plots against scalar variables.
The best thing would be to give a concrete example of what's desired.

Sign in to comment.

Answers (0)

Categories

Find more on Graphics in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!