plotting the average of a range of data

1 visualizzazione (ultimi 30 giorni)
Anindita Deka
Anindita Deka il 4 Dic 2019
Commentato: Guillaume il 4 Dic 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 Commenti
TADA
TADA il 4 Dic 2019
Im not sure i follow, but maybe have a look at movmean
Guillaume
Guillaume il 4 Dic 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.

Accedi per commentare.

Risposte (0)

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by