plotting the average of a range of data

1 vue (au cours des 30 derniers jours)
Anindita Deka
Anindita Deka le 4 Déc 2019
Commenté : Guillaume le 4 Déc 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 commentaires
TADA
TADA le 4 Déc 2019
Im not sure i follow, but maybe have a look at movmean
Guillaume
Guillaume le 4 Déc 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.

Connectez-vous pour commenter.

Réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by