필터 지우기
필터 지우기

compare and store information of different length into an array

조회 수: 2 (최근 30일)
ubaid haroon
ubaid haroon 2017년 3월 1일
답변: Image Analyst 2017년 3월 1일
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.

답변 (1개)

Image Analyst
Image Analyst 2017년 3월 1일

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by