Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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

1 Ansicht (letzte 30 Tage)
RAHUL AGARWAL
RAHUL AGARWAL am 26 Aug. 2020
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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 Kommentar
dpb
dpb am 26 Aug. 2020
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.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by