3D Heat Plot in Matlab

Viewed 24

I am trying to create a 3d heat decay plot in matlab and need to know how to do it. I have 10 points in space that decay over time. The decay is shown in z axis as time axis.Y-axis shows temperature and x axis has those 10 points. I have attached an image of what I want. I already have the data and need to plot it in format as shown in image.

Data:

Points in space

x = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]

Time in sec

t = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100]

Temperature Data

y = [

 [500, 400, 600, 700, 800, 500, 600, 800, 300, 200]

 [400, 300, 600, 700, 200, 500, 900, 800, 300, 800]

 [300, 600, 600, 700, 800, 500, 600, 900, 300, 200]

 [200, 400, 300, 600, 500, 100, 900, 800, 300, 700]

 [400, 400, 600, 300, 800, 500, 600, 600, 200, 200]

]

Heat Decay

0 Answers
Related