Getting Matrices of Equal Dimension
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commento
Adam
il 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.
Risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!