How can we get an array of ordered pairs from the user?
Mostrar comentarios más antiguos
I wanna get an array of ordered pairs from user, but in this program we dont know the number of ordered pairs(it can be Changeable) ...Is there any way for this?
for example: I have a 512*512 zero image and I want to change this {(234,90),(120,23),(145,243),(255,75)} to one...the user enter this values...How can I get this values as an array
2 comentarios
Geoff Hayes
el 12 de Abr. de 2015
Jack - how are you asking the user to provide the ordered pairs? Through a GUI or through command line requests?
jack nn
el 13 de Abr. de 2015
Editada: Walter Roberson
el 20 de Sept. de 2015
Respuestas (1)
Categorías
Más información sobre Matrices and Arrays en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!