フィルターのクリア

How to change interpolation results

1 回表示 (過去 30 日間)
Emmanuelle
Emmanuelle 2012 年 9 月 27 日
Hi! I have a question. I've done some interpolation: t= 200:.01:1500; l= pchip(l1,l2,t); plot(l1,l2,'o',t,l,'-'); axis([200 1500 0 1])
But the result of the x vector is not one by one numbers (like 251, 252...). It's like this:
251
251,010000000000
251,020000000000
251,030000000000
251,040000000000
251,050000000000
251,060000000000
251,070000000000
251,080000000000
251,090000000000
251,100000000000
251,110000000000
251,120000000000
251,130000000000
251,140000000000
251,150000000000
251,160000000000
251,170000000000
251,180000000000
251,190000000000
251,200000000000
251,210000000000
251,220000000000
How can I change this? Is that possible?
Thanks a lot in advance

採用された回答

Andrei Bobrov
Andrei Bobrov 2012 年 9 月 27 日
t= 200:1500;
l= pchip(l1,l2,t);
plot(l1,l2,'o',t,l,'-');
axis([200 1500 0 1])
  1 件のコメント
Emmanuelle
Emmanuelle 2012 年 9 月 28 日
Thanks!!

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

その他の回答 (0 件)

カテゴリ

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