get 2 set of random coordinates

조회 수: 1 (최근 30일)
Muhamad Arung
Muhamad Arung 2022년 7월 2일
댓글: KALYAN ACHARJYA 2022년 7월 2일
i have values for x [0-20] and y [0-30] want to make coordinates between x and y, can't exceed 20 and 30 how do I do that?
  댓글 수: 1
Image Analyst
Image Analyst 2022년 7월 2일
Give an example desired output.
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:

댓글을 달려면 로그인하십시오.

채택된 답변

KALYAN ACHARJYA
KALYAN ACHARJYA 2022년 7월 2일
편집: KALYAN ACHARJYA 2022년 7월 2일
x=0:20; % Or any Random Data
y=0:30; % Or any Random Data
cor_data=[x(randi(length(x))),y(randi(length(y)))]
cor_data = 1×2
17 7
  댓글 수: 2
Muhamad Arung
Muhamad Arung 2022년 7월 2일
Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check
for mismatched delimiters.
KALYAN ACHARJYA
KALYAN ACHARJYA 2022년 7월 2일
Any Issue?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by