# how to write fusion code

6 views (last 30 days)
FARAH HANIM AMIR on 5 May 2017
Edited: Ullah Nadeem on 12 Jan 2022
Hi all, my project is on multimodal biometric, fuse using matching score level fusion. i got the euclidean distance for both palmprint(A) and face(B). now i need to get the fuse score for both using sum rule.
i use the normal adding code but the result is not right. i have two matrices which is 40 by 40 each. it is true that i just need to write A+B so that for example 'column 4 row 3' on face result will add together with 'column 4 row 3' on palm result..is that so? because i tried but 4.7430 + 0.1353 is equal to 0.6096..i don't know why..
James Tursa on 5 May 2017
"4.7430 + 0.1353 is equal to 0.6096"
This is certainly not true in MATLAB, so something else is going on in your code or with your data. You would need to provide us with more details before we could help you.

John D'Errico on 5 May 2017
Edited: John D'Errico on 5 May 2017
Its the new math, or maybe math deflation.
However, if it is possible that somehow, you have slipped a decimal point, you might notice that this is true:
0.47430 + 0.1353
ans =
0.6096
So my guess is that you have somehow got 0.47430 instead of 4.7430. But what do I know? I'm still stuck with the old math.
Seriously, unless I am correct above, for us to have any way of helping you in general, you need to show what you have done, because what you claim to have happened is simply not what happened.
reena zeecorps on 6 Sep 2019
hello can you share your code based on multimodal biometric fusion

Ullah Nadeem on 12 Jan 2022
Edited: Ullah Nadeem on 12 Jan 2022
Hello guys!
If John hasn't corrected it then you need to have a look to your sum code, probably, you might have taken a wrong data type in your sum.

### Categories

Find more on Mathematics 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!

Translated by