plotting the average of a range of data
1 view (last 30 days)
Show older comments
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
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.
Answers (0)
See Also
Categories
Find more on Line Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!