How can I order a matrix in a specific order?
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!