2D interp of matrix to heat map
5 views (last 30 days)
Show older comments
I have a 23x23 matrix with normalized values from a light source. The numbers indicate the measured intensity of the light source as a detector was moved in front of it along two axis, lets call it x and y axis. See the matrix attached below. I need to make a map of the intensity by interpolating in the rest of the matrix using only the data already in the matrix.
I believe interp2 is the right tool for the job but im a bit fuzzy on the best way to go about this. Any help and input would be very useful.
Attached below is an image of the matrix I have, and the type of map im hoping to get from the resulting matrix.
Thanks for any help!


2 Comments
Prasad Reddy
on 17 May 2020
please can you provide the actual matrix. not the immage formate. so that we can work on it and shall provide you the correct answer. Iam familear with heat maps. surely will help you.
Answers (0)
See Also
Categories
Find more on Interpolation of 2-D Selections in 3-D Grids in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!