[Data manipulation ]A best set of functions to solve this issue.

4 visualizaciones (últimos 30 días)
Cheeesepondue
Cheeesepondue el 22 de En. de 2019
Editada: Cheeesepondue el 23 de En. de 2019
Hello everyone,
I am trying to draw a plot with a curve that has two components: (1) mean (thicker colored-lines) (2) standard deviation (shades), as seen below
For that, multiple y-axis data points are required for each certain x-value (here, Extension). It would be very straightforward if the n-th row has the "nearly" same x-value on each run. The excel lmage below is the collection of x-axis values for each run, and apparently in the same row the value does not match. Then it is challenging to obtain corresponding "averaged" y-axis value.
I am wondering if you have good solutions to the issue.
Thank you.
  5 comentarios
Rik
Rik el 22 de En. de 2019
Why not directly calculate the mean and standard deviation from the actual data-points? That way you don't need to throw out or invent data.
Cheeesepondue
Cheeesepondue el 22 de En. de 2019
Editada: Cheeesepondue el 23 de En. de 2019
@Rik Wisselink I don't think I can. n-th mean/STDEV values will be calculated from n-th row data from each column. The problem is that x-values (in the excel image) are not (approximately) equal in the n-th row of column. (e.g.,210-th row, the x-value ranges from 8.99 to 11.938)
Updates: Interpolation did the job!

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Creating, Deleting, and Querying Graphics Objects en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by