Plot contour on similarity matrix
Mostrar comentarios más antiguos
I need to plot the contour which looks like the image. The image shows the contour of the laplacian kernel (similarity matrix)
I need to plot such contour on my similarity matrx (nxn) ....lets say the similarity matrix is built from the eucledian distance....
Respuestas (1)
Star Strider
el 28 de Abr. de 2020
0 votos
6 comentarios
Virtualkeeda
el 28 de Abr. de 2020
Star Strider
el 28 de Abr. de 2020
If the values of the matrix change, it can be considered a ‘height’. If they are all the same, it is a plane.
Virtualkeeda
el 30 de Abr. de 2020
Star Strider
el 30 de Abr. de 2020
That does not look like the similarity matrix in the first image you posted.
I have no idea what the problem could be.
Virtualkeeda
el 30 de Abr. de 2020
Star Strider
el 30 de Abr. de 2020
The ‘Z’ matrix is what you specify it to be. (Note that ‘X’ and ‘Y’ are not required for surfc. In their absence, those values are set to the indices of the respective dimensions.)
Categorías
Más información sobre Contour Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



