Reordering matrix columns to be the same in two matrices
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have two matrices one containing experimental and the other simulated output from an ODE model and I want to subtract the simulated matrix from the experimental.The columns however have been reordered in the experimental matrix such that I can no longer just perform the subtraction. My question is how could I reorder one of the columns of one matrix to be the same as the columns in the other matrix based on the column headings? Additionally, I need this to work for every experimental/simulated data pair of matrices.
Code so far:
data=xlsread(data_file); %experimental
traj=SBsimulate(model,start_time:(end_time/number_of_points):end_time) %simulated
Thank you
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Ordinary Differential Equations 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!