Hello,
-I have this matlab code:
function [nsd]=NaivniNSD(a,b) if a>b a=a-b; else b=b-a; endendnsd=a;
– when i write (a=40;b=50) i still have the answer nsd=10 in matlab. a logical analysis will be b=10 so that nsd=a=40 not 10. I don't know what is the thing that i couldn't undersntand. Thank you.
Best Answer