필터 지우기
필터 지우기

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