3D Plot from xls

1 次查看(过去 30 天)
SYML2nd
SYML2nd 2019-4-5
回答: darova 2019-4-5
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 个评论
KALYAN ACHARJYA
KALYAN ACHARJYA 2019-4-5
编辑:KALYAN ACHARJYA 2019-4-5
plot a 3d graph of these data.
There are 8 Columns and first element cell in exel file is blank. Plot vs ????
SYML2nd
SYML2nd 2019-4-5
The first column are the seconds, the firs raw represents the coordinates in x and the other values are the kinetic energy

请先登录,再进行评论。

采纳的回答

darova
darova 2019-4-5
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)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by