get 2 set of random coordinates
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Muhamad Arung
am 2 Jul. 2022
Kommentiert: KALYAN ACHARJYA
am 2 Jul. 2022
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 Kommentar
Image Analyst
am 2 Jul. 2022
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:
Akzeptierte Antwort
KALYAN ACHARJYA
am 2 Jul. 2022
Bearbeitet: KALYAN ACHARJYA
am 2 Jul. 2022
x=0:20; % Or any Random Data
y=0:30; % Or any Random Data
cor_data=[x(randi(length(x))),y(randi(length(y)))]
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!