Clear Filters
Clear Filters

Getting Matrices of Equal Dimension

1 view (last 30 days)
Suki Sule
Suki Sule on 9 Mar 2016
Commented: Adam on 9 Mar 2016
I will be optimizing 2 time series data sets. One will be a fixed reference S with about 5000 rows for both x, y. The second time series data set F has 4000 rows for x1,y1 and will be under test and will be changing, F1...FN for x1,y1....xN,yN. Each time,F needs to be compared to S with optimization algorithm so the dimensions must be the same. How can I achieve this?
  1 Comment
Adam
Adam on 9 Mar 2016
It depends entirely on what the data in the two arrays refers to.
You could just chop off the last 1000 rows from S, but I assume that is too simplistic. How to the 5000 rows in S correspond to the 4000 rows in F? Do they cover the same range, but one has smaller sample rate than the other? Do they cover completely different ranges? Partially overlapping ranges? etc. Depending on the answers different approaches would be needed.

Sign in to comment.

Answers (0)

Categories

Find more on Problem-Based Optimization Setup in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!