unidrnd function for 2D
显示 更早的评论
can I have a function to generate points from a 2D space. unidrnd selects numbers from a 1D array but I want to select from a 2D Space.
回答(1 个)
Walter Roberson
2011-3-11
xy = unidmd(1000,100,2);
x = xy(:,1);
y = xy(:,2);
类别
在 帮助中心 和 File Exchange 中查找有关 Simscape Electrical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!