This question is closed. Reopen it to edit or answer.
I need to know what's the problem with this code
1 view (last 30 days)
Show older comments
wisam kh on 2 Sep 2018
Closed: MATLAB Answer Bot on 20 Aug 2021
Hello I need to know what's the problem with this code
% tedata contain 20 cells
% trdata contain 60 cells
similarity = sqrt(sum((x - y) .^ 2));
[result indxofmin] =min(kk);
but it return the value of similarity at first step [similarity = sqrt(sum((x - y) .^ 2)); ] not after the condition
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!