Borrar filtros
Borrar filtros

compare and store information of different length into an array

2 visualizaciones (últimos 30 días)
ubaid haroon
ubaid haroon el 1 de Mzo. de 2017
Respondida: Image Analyst el 1 de Mzo. de 2017
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.

Respuestas (1)

Image Analyst
Image Analyst el 1 de Mzo. de 2017

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by