Azzera filtri
Azzera filtri

compare and store information of different length into an array

2 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Image Analyst
Image Analyst il 1 Mar 2017

Categorie

Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by