MATLAB: 3D Plot from xls

3d plotsMATLAB

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?

Best Answer

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)
Related Question