Interpolating Data - Basic Question

1 回表示 (過去 30 日間)
Kayleigh
Kayleigh 2013 年 11 月 27 日
編集済み: Walter Roberson 2013 年 11 月 27 日
Hi!
I have a dataset consisting of a position and a signal - the signal is sampled at scattered positions. I would like to smooth this data and then interpolate it to fill in the intervening positions. I've been smoothing data with the commands:
>> hann250=hanning(250);
>> smooth250=conv(signal,hann250,'same');
But I am not sure how to interpolate the data - what commands can I use and what would I type? I'm totally new to MATLAB! I've attached a sample of my data from excel. Thanks,
- K

回答 (1 件)

Alex Taylor
Alex Taylor 2013 年 11 月 27 日
help interp1
help griddedInterpolant
  1 件のコメント
Kayleigh
Kayleigh 2013 年 11 月 27 日
Unfortunately my mathematic skills are not very good and I often struggle to understand the in-built MATLAB help. Could you provide me with an example document where interpolation has been done or an example of how the commands are used? Thanks!

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

カテゴリ

Help Center および File ExchangeInterpolation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by