Replace values in collumns
1 回表示 (過去 30 日間)
古いコメントを表示
Hi everyone. I am having an issue while processing some data.The problem is that a from a random time point from y2 go to the last collumn. Any ideas how to fix this in order to finally plot each colllumn seperate?
Thanks in advance!
0 件のコメント
回答 (1 件)
Bob Thompson
2019 年 11 月 4 日
You can just index your matrix to reorder it, assuming all of the columns are the same type of data (i.e. all of column 6 is z2, and all of column 7 is rain).
data = [data(:,1:5),data(:,8),data(:,6:7)];
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!