Filter löschen
Filter löschen

Getting Matrices of Equal Dimension

1 Ansicht (letzte 30 Tage)
Suki Sule
Suki Sule am 9 Mär. 2016
Kommentiert: Adam am 9 Mär. 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 Kommentar
Adam
Adam am 9 Mär. 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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Problem-Based Optimization Setup finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by