I have a Matrix of dimensions (2xN) which consists of 2 dimensional Cartesian coordinates and I would like to create a heat map of this. Do you know any way to do this?
Thanks in advance!
Direct link to this comment:
What do you want a heat-map of? A third variable? The densiy of the scatter points?
With heat map I mean a plot where e.g. red color indicates that a lot of points from the matrix are in a certain neighbourhood and blue would mean that all the other coordinates are far away.
No products are associated with this question.
Direct link to this answer:
Without more detail, I would just point you to the image() command. Is that helpful?
That for your suggestion. I added a comment what I mean with "heat map" I hope its now a bit clearer, sorry for that. Unfortunately the image command does not provide this.
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test
Opportunities for recent engineering grads.
New to MATLAB?
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend you select United States from the following list:
See all countries