Hi everyone,
I'm having two data sets with same x values. Like this. x=[1 2 3 4]; y1=[188 184 198 288]; y2=[168 168 216 290];
I need to get one data set as (x,y). How can I do that. Pls help me.
Thanx in advance!!

 Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 25 de Feb. de 2013
Maybe you need to take the mean
y1=[188 184 198 288];
y2=[168 168 216 290]
y=mean([y1;y2])

2 comentarios

Uvindu
Uvindu el 27 de Feb. de 2013
well, solved it. thnx Azzi Abdelmalek :)
Stelios Fanourakis
Stelios Fanourakis el 29 de Oct. de 2019
Editada: Stelios Fanourakis el 29 de Oct. de 2019
Did it work with the mean? How did you solve it? I face similar problem

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Interpolation en Centro de ayuda y File Exchange.

Preguntada:

el 25 de Feb. de 2013

Editada:

el 29 de Oct. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by