get 2 set of random coordinates
1 次查看(过去 30 天)
显示 更早的评论
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
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
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)))]
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!