データの補間について

7 vues (au cours des 30 derniers jours)
ZM
ZM le 23 Avr 2021
Commenté : ZM le 24 Avr 2021
失礼いたします。Excelのデータをグラフにしたいのですが、
x軸は時間相で0%から90%でそれに対応したX,Y,Z軸の移動値がそれぞれに10あります。
folename='Excel file'
sheet='sheet1';
range='A1:D10'; 
data=xlsread(filename,sheet,range);
x=data(:,1);
y=data(:,2):
figure
plot(x,y);
で1つ作成しました。Aには時間相(%)、BはX軸の値、CはY軸の値、DはZ軸の値
しかし、データが粗いためX,Y,Z軸で現在10つのポイントを合計100ポイントまで増やしてプロットし線グラフにして、その値をまたエクセルに戻したいと思います。どのようにしたらいいでしょうか?
申し訳ありませんがよろしくお願いいたします。

Réponse acceptée

Hernia Baby
Hernia Baby le 23 Avr 2021
時間相がよくわかっておりませんが、
データの補間でしたらinterp系の関数はいかがでしょうか?
  1 commentaire
ZM
ZM le 24 Avr 2021
ご回答ありがとうございます。
作成できました。

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 内挿 dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!