필터 지우기
필터 지우기

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 CenterFile Exchange에서 Data Types에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by