how to construct an affinity matrix?

Excuse me,I have a matrix and I wanna construct an affinity of it. How can I do it? Thanks for answering.

2 Comments

what do you mean by affinity matrix ? is it the same as similarity matrix ?

Sign in to comment.

 Accepted Answer

Richard Brown
Richard Brown on 28 Jun 2012
Edited: Richard Brown on 28 Jun 2012

1 Comment

It's different with what I wanna construct.While ,what you offer is also useful.Thanks again.

Sign in to comment.

More Answers (1)

Is "affinity matrix" the same as covariance matrix? If so then use cov()

5 Comments

thanks,while they are not same.But I've got the code.
Code you give me the code since I need it?
i need the code too please
can you please share the code of converting an image in to affinity matrix
santu.thoughs@gmail.com

Sign in to comment.

Categories

Asked:

on 28 Jun 2012

Commented:

on 12 Aug 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!