フィルターのクリア

unidrnd function for 2D

2 ビュー (過去 30 日間)
Basanta
Basanta 2011 年 3 月 11 日
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
Walter Roberson 2011 年 3 月 11 日
xy = unidmd(1000,100,2);
x = xy(:,1);
y = xy(:,2);

カテゴリ

Help Center および File ExchangeData Types についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by