フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

I am skectching from excel importeed data but not getting smooth surfaces.

1 回表示 (過去 30 日間)
RAHUL AGARWAL
RAHUL AGARWAL 2020 年 8 月 26 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
clc
data = xlsread('globalrd.xlsx','Sheet6') ;
x = data(:,1) ;
t = data(:,2) ;
u = data(:,3) ;
nx = length(unique(x)) ;
nt = length(unique(t)) ;
X = reshape(x,nx,nt) ;
T = reshape(t,nx,nt) ;
U = reshape(u,nx,nt) ;
surf(T,X,U)
colorbar
  1 件のコメント
dpb
dpb 2020 年 8 月 26 日
That will be fully dependent upon the granularity/smoothness of the input data. To have a smoother surface will need more data points or to interpolate what you have.

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by