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 Center および File ExchangeCreating 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