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!!

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 2 月 25 日

0 投票

Maybe you need to take the mean
y1=[188 184 198 288];
y2=[168 168 216 290]
y=mean([y1;y2])

2 件のコメント

Uvindu
Uvindu 2013 年 2 月 27 日
well, solved it. thnx Azzi Abdelmalek :)
Stelios Fanourakis
Stelios Fanourakis 2019 年 10 月 29 日
編集済み: Stelios Fanourakis 2019 年 10 月 29 日
Did it work with the mean? How did you solve it? I face similar problem

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Interpolation についてさらに検索

質問済み:

2013 年 2 月 25 日

編集済み:

2019 年 10 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by