hi every one how can i distribute randomly a number of points inside rectangle and every point has x,y ex: px(1)=100; py(1)=-100; and so forth where the rectangle code as shown bellow:-
x=-1100;y=-1100;rectangle('position',[x,y,2200,2200],'LineWidth',2,'LineStyle','--');
Best Answer