![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/12902485_1527168129734_DEF.jpg)
David Otu
自 2018 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
I am a MATLAB beginner, I have a function that generates 100 X and Y coordinates for 30 users. X and Y are 30 by 100 matrices. How do I generate the distance between a user and the other 29 users, for each of the 30 users.
NoUsers = 30; s = 100; alpha = 1.5; [x,y] = levywalkfunc(alpha,s); for m = 1:NoUsers [x(m,:),y(m,:)] = levywalkfunc(alph...
6 years 前 | 1 个回答 | 0