3D Plot from xls

1 Ansicht (letzte 30 Tage)
SYML2nd
SYML2nd am 5 Apr. 2019
Beantwortet: darova am 5 Apr. 2019
Hi all,
I am a new user of Matlab, I have a file .xlsx and I would like to plot a 3d graph of these data. Unfortunately I was not able to find a way to plot it. Can you help me?
  2 Kommentare
KALYAN ACHARJYA
KALYAN ACHARJYA am 5 Apr. 2019
Bearbeitet: KALYAN ACHARJYA am 5 Apr. 2019
plot a 3d graph of these data.
There are 8 Columns and first element cell in exel file is blank. Plot vs ????
SYML2nd
SYML2nd am 5 Apr. 2019
The first column are the seconds, the firs raw represents the coordinates in x and the other values are the kinetic energy

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

darova
darova am 5 Apr. 2019
clc,clear
A = xlsread('Prova.xlsx');
t = A(2:end,1);
x = A(1,2:end);
Z = A(2:end,2:end);
surf(x,t,Z)

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by