i need matlab code for 50 random user locations, 8 Access Points and 1 Base Station on one plane....using m file
Ältere Kommentare anzeigen
function project() %x= number of user x=50; %y= access point y=8; %z=base station z=2.5;
t1=randn(1,x) t2=randn(1,y)
figure(1) xlabel('x-candidate') ylabel('y-candidate') t=0:0.1:5;
for i=1:x t2=randn(1,x); plot(t1,t,z) grid on
for i =1:x t1=randn(1,y); plot(t2,t,z) grid on end end
Akzeptierte Antwort
Weitere Antworten (2)
abdulaziz alofui
am 6 Dez. 2013
0 Stimmen
abdulaziz alofui
am 6 Dez. 2013
0 Stimmen
4 Kommentare
sixwwwwww
am 6 Dez. 2013
For this you will need to generate the numbers by yourself because it will not be easily possible with random numbers
abdulaziz alofui
am 6 Dez. 2013
sixwwwwww
am 6 Dez. 2013
check my updated code above
abdulaziz alofui
am 14 Dez. 2013
Kategorien
Mehr zu Data Distribution Plots finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!