How can I order a matrix in a specific order?
Ältere Kommentare anzeigen
Hello to all,
I am working in Matlab with data of Ampl, so i am using amplapi. I have a problem when I call the matrices because when I check them I notice that the order is different, however, I need the matrices to have the same order to not have a problem with the rest of the code. Attached is how I have my data from a matrix in Ampl and how Matlab reads it. Please check the script. My question is how can I order my matrix in the order I want in Matlab?
Thank for your attention.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu File Operations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!