How can i plot a 3D graph using excel file?

3 views (last 30 days)
Hi, there,
I have data in excel file where each column represent the different channel, like the attached file.
How can I plot the data like this fig?
Thanks!
  3 Comments
abhilasha
abhilasha on 1 Mar 2024
i have used the plot3 but the graph is not break between the two different samples.
Chunru
Chunru on 4 Mar 2024
See the updated answer for breaking the segment using waterfall

Sign in to comment.

Accepted Answer

Chunru
Chunru on 1 Mar 2024
Edited: Chunru on 4 Mar 2024
x = readtable("https://www.mathworks.com/matlabcentral/answers/uploaded_files/1632251/data.xlsx");
waterfall(table2array(x)')

More Answers (0)

Tags

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!