フィルターのクリア

Reordering matrix columns to be the same in two matrices

1 回表示 (過去 30 日間)
Ciaran
Ciaran 2015 年 10 月 26 日
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 件)

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by