how can i write this equation f(A,B)=1/(​(|AUB)(|A|​))*Σ(aEA)(​bEB) d(a,b)

1 view (last 30 days)
i want to create a function who calculate with equation
  1 Comment
Walter Roberson
Walter Roberson on 26 Sep 2018
Does the U in AUB mean union, ∪, A∪B ? Does AUB mean the size of the set A∪B ? Does ||A| mean the size of the set A ?
Does the E in aEA mean the membership function, ∈ ? Like is it perhaps a double summation,
sum( a in A, sum(b in B, d(a,b) ) )
which is to say the sum of d over all pair-wise combinations of the elements of A and B ?

Sign in to comment.

Answers (1)

Almas Adil
Almas Adil on 26 Sep 2018
for all your questions above my answer is yes except d(a,b) is derivative
  3 Comments
Walter Roberson
Walter Roberson on 26 Sep 2018
What does it mean to take the derivative of a value with respect to another value? The derivative of 7 with respect to 19 is not defined.
If they were sets of variable names then it could potentially make sense.

Sign in to comment.

Products


Release

R2013b

Community Treasure Hunt

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

Start Hunting!