compare and store information of different length into an array
1 回表示 (過去 30 日間)
古いコメントを表示
I am taking out information from arrays by doing something like this from a for loop distance(ID == x) , where x = [ 1:9 ]
This gives me data of different lengths.
I want to save all that data in an array and get delta range between all the comparisons with a certain frequency and store that information later to plot a histogram. How do I do that?
Delta range between: column 1 with column 2 3 4 5 6 7 8 9 column 2 with column 1 3 4 5 6 7 8 9 column 3 with column 1 2 4 5 6 7 8 9 column 4 with column 1 2 3 5 6 7 8 9 ... column 9 with column 1 2 3 4 5 6 7 8
Please let me know if more clarification is needed.
Thought: Since I know that the lengths are not the same, I can't store them in an array and I tried to create a matrix with zeros and tried to only store the information of all the arrays in there and I get an error. I think I might be starting this problem wrong.
0 件のコメント
回答 (1 件)
参考
カテゴリ
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!