Relatively new to matlab, would like some input on the best options for my project.
I have several temperature probes at set locations around the office and I have to display a heat map on a floor plan image. (This is kinda what i want to achieve, where the points are the probes, and this would be overlayed on a floor plan)
At the moment i'm looking for the best way to organise and graph the data.
I have a csv file from each probe with a timestamp
column and a temperature column.
Each csv file may have roughly upto around 3months/2000 readings.
At the moment I have all the csv files from the different probes being imported to cells and organised by a number corresponding to their location.
So data{1}{1}
contains the timestamps and data{1}{2}
contains the temperatures of the probe at location 1. data{2}
is for location 2 and so on. Is this a good way to store it?
Eventually I need to be able to seek or play through the different times while viewing the map. But at the moment im just looking for the best option to graph it.
I have the floorplan image and i know that i'll have to find the pixels/xy representation of the locations, but what then?
What would be the best way to plot all these probes. I was planning to use surf(top view), but this require an array for the x/y coords?
My idea was to store the locations as static integers, loc1X= .., loc1y=, etc, then make an array something like [loc1X loc1Y data{1}{2}(1); loc2X loc2Y data{2}{2}(1)]
but surf still says Z needs to be an array to plot.