Skip to content
Snippets Groups Projects
Commit 6e73cf72 authored by Ishtiaq Ahmad's avatar Ishtiaq Ahmad
Browse files

Upload New File

parent c7c3c0ae
No related branches found
No related tags found
No related merge requests found
function d = distance_D2D(Number_SN,PosD2D,~)
d=zeros(Number_SN,Number_SN);
for i=1:Number_SN
for j=1:Number_SN
d(i,j)=sqrt((PosD2D(i,1)-PosD2D(j,1))^2 + (PosD2D(i,2)-PosD2D(j,2))^2)/10;
end
end
end
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment