필터 지우기
필터 지우기

3D Plot from xls

조회 수: 3 (최근 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